Beispiel #1
0
 public DapperServerModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options    = JimuAppSettings.GetSection(typeof(DapperOptions).Name).Get <DapperOptions>();
     _mulOptions = JimuAppSettings.GetSection(typeof(MultipleDapperOptions).Name).Get <MultipleDapperOptions>();
 }
Beispiel #2
0
 public DbConnectionUnitOfWorkModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options    = JimuAppSettings.GetSection(typeof(DbConOptions).Name).Get <DbConOptions>();
     _mulOptions = JimuAppSettings.GetSection(typeof(MultipleDbConOptions).Name).Get <MultipleDbConOptions>();
 }
 public SqlSugarUnitOfWorkModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options    = JimuAppSettings.GetSection(typeof(SqlSugarOptions).Name).Get <SqlSugarOptions>();
     _mulOptions = JimuAppSettings.GetSection(typeof(MultipleSqlSugarOptions).Name).Get <MultipleSqlSugarOptions>();
 }