Esempio n. 1
0
 public DbOperate(string cnnStr, string providerName, bool isAutoClose = true)
 {
     dbProvider       = new DbProvider(cnnStr, providerName);
     this.isAutoClose = isAutoClose;
 }
Esempio n. 2
0
 public DbOperate(bool isAutoClose = true)
 {
     dbProvider       = new DbProvider();
     this.isAutoClose = isAutoClose;
 }