Beispiel #1
0
 //-----------------------------------------------------------------
 public Actions(string providerName, string connectionString)
 {
     db = new DatabaseAccess(providerName, connectionString);
 }
Beispiel #2
0
 //-----------------------------------------------------------------
 public Actions()
 {
     db = new DatabaseAccess();
 }
Beispiel #3
0
 public DatabaseTransactions(string providerName, string connectionString)
 {
     _conn = DatabaseAccess.CreateConnection(providerName, connectionString);
     _conn.Open();
     _dbTransactions = _conn.BeginTransaction();
 }
Beispiel #4
0
 //-----------------------------------------------------------------
 public Users()
 {
     db = new DatabaseAccess();
 }
Beispiel #5
0
 public DatabaseTransactions()
 {
     _conn = DatabaseAccess.CreateConnection();
     _conn.Open();
     _dbTransactions = _conn.BeginTransaction();
 }