This commit is contained in:
Курнат Андрей
2026-03-19 23:31:41 +03:00
parent ce3a3f02d2
commit a47a7a5a3b
104 changed files with 21982 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
namespace XLAB2.Infrastructure;
internal sealed class DatabaseOptions
{
public string ApplicationName { get; set; } = "XLAB2";
public int CommandTimeoutSeconds { get; set; } = 60;
public int ConnectRetryCount { get; set; } = 3;
public int ConnectRetryIntervalSeconds { get; set; } = 10;
public int ConnectTimeoutSeconds { get; set; } = 15;
public string Database { get; set; } = "ASUMS";
public bool Encrypt { get; set; } = false;
public bool IntegratedSecurity { get; set; } = true;
public bool MultipleActiveResultSets { get; set; } = true;
public bool Pooling { get; set; } = true;
public int MaxPoolSize { get; set; } = 100;
public int MinPoolSize { get; set; } = 0;
public string Server { get; set; } = @"SEVENHILL\SQLEXPRESS";
public bool TrustServerCertificate { get; set; } = true;
}