Добавьте файлы проекта.
This commit is contained in:
13
SQLVision.Services/Configuration/DatabaseOptions.cs
Normal file
13
SQLVision.Services/Configuration/DatabaseOptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user