Files
SQLVision/SQLVision.Services/Configuration/DatabaseOptions.cs
2026-01-05 00:37:54 +03:00

14 lines
489 B
C#

namespace SQLVision.Services.Configuration;
public class DatabaseOptions
{
public const string SectionName = "Database";
public string DefaultConnection { get; set; } = string.Empty;
public Dictionary<string, string> ConnectionStrings { get; set; } = new();
public int CommandTimeout { get; set; } = 300;
public bool EnableStatistics { get; set; } = true;
public CacheOptions Cache { get; set; } = new();
public RetryOptions Retry { get; set; } = new();
}