Esempio n. 1
0
 /// <summary>
 /// Kết nối pt với 1 db khác
 /// </summary>
 /// <param name="dbType">0: db default, 1: Interface, 2: SC Interface</param>
 public ProcessTransaction(int dbType)
 {
     if (dbType > 0)
     {
         cnn = new SqlConnection(DBUtils.GetOtherDBConnectionString(dbType));
     }
     else
     {
         cnn = new SqlConnection(DBUtils.GetDBConnectionString());
     }
 }
Esempio n. 2
0
 public ProcessTransaction()
 {
     cnn = new SqlConnection(DBUtils.GetDBConnectionString());
 }