Beispiel #1
0
 public DbService(DbExecuteSqlEvent dbExecuteSqlEvent, ICache cache)
 {
     _dbExecuteSqlEvent = dbExecuteSqlEvent != null ? dbExecuteSqlEvent : new DbExecuteSqlEvent(_DbExecuteSql);
     _Cache             = cache != null ? cache : new LocalMemCache(null);
     _StrCommon         = new Common.StrCommon();
 }
Beispiel #2
0
 public DbService()
 {
     _dbExecuteSqlEvent = new DbExecuteSqlEvent(_DbExecuteSql);
     _Cache             = new LocalMemCache(null);
     _StrCommon         = new Common.StrCommon();
 }