using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yi.Framework.Infrastructure.Sqlsugar { public class DbConnOptions { /// /// 连接字符串,必填 /// public string? Url { get; set; } /// /// 数据库类型 /// public DbType? DbType { get; set; } /// /// 开启种子数据 /// public bool EnabledDbSeed { get; set; } = false; /// /// 开启读写分离 /// public bool EnabledReadWrite { get; set; } = false; /// /// 开启codefirst /// public bool EnabledCodeFirst { get; set; } = false; /// /// 实体程序集 /// public List? EntityAssembly { get; set; } /// /// 读写分离 /// public List? ReadUrl { get; set; } } }