14 lines
489 B
C#
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();
|
|
}
|