You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
423 B
20 lines
423 B
2 years ago
|
namespace Cis.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 数据库配置选项
|
||
|
/// </summary>
|
||
|
public sealed class DbConnectionOptions : IConfigurableOptions
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 数据库集合
|
||
|
/// </summary>
|
||
|
public List<DbConnectionConfig> ConnectionConfigs { get; set; }
|
||
|
}
|
||
|
|
||
|
public sealed class DbConnectionConfig : ConnectionConfig
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 启用库表初始化
|
||
|
/// </summary>
|
||
|
public bool EnableInitDb { get; set; }
|
||
|
}
|