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