15 lines
535 B
C#
15 lines
535 B
C#
namespace adas_core.Domain.Models.AppSettings;
|
|
|
|
/// <summary>
|
|
/// Represents a set of configuration settings used to establish and manage database connections.
|
|
/// </summary>
|
|
public class DatabaseSettings
|
|
{
|
|
public const string Database = "DatabaseSettings";
|
|
|
|
public string? ConnectionString { get; set; }
|
|
public string? DatabaseName { get; set; }
|
|
public int MaxConnectionPoolSize { get; set; } = 200;
|
|
public int MinConnectionPoolSize { get; set; } = 20;
|
|
public int MaxConnectionIdleTime { get; set; } = 60;
|
|
} |