Exemplo n.º 1
0
 public Trans1(string connectionString)
 {
     conn = DbHelper.CreateConnection(connectionString);
     conn.Open();
     dbTrans = conn.BeginTransaction();
 }
Exemplo n.º 2
0
 public Trans1()
 {
     conn = DbHelper.CreateConnection();
     conn.Open();
     dbTrans = conn.BeginTransaction();
 }