示例#1
0
 public Trans(string connectionString)
 {
     conn = DbHelper.CreateConnection(connectionString);
     conn.Open();
     dbTrans = conn.BeginTransaction();
 }
示例#2
0
 public Trans()
 {
     conn = DbHelper.CreateConnection();
     conn.Open();
     dbTrans = conn.BeginTransaction();
 }