Beispiel #1
0
 public DbHelper(string connectionString, DataBaseType databasetype)
 {
     dataBaseType = databasetype;
     connection   = DbProvider.CreateConnection(this.dataBaseType, connectionString);
     connection.Open();
 }
Beispiel #2
0
 public DbHelper(string connectionString)
 {
     connection = DbProvider.CreateConnection(this.dataBaseType, connectionString);
     connection.Open();
 }