예제 #1
0
 public void commit()
 {
     DB.gDb().TransactionCommit();
 }
예제 #2
0
 public void begintrans()
 {
     DB.gDb().TransactionBegin();
 }
예제 #3
0
파일: cls2.cs 프로젝트: kiarsy/GoodZilla
 public System.Data.DataSet CustomerList()
 {
     return(DB.gDb().CreateCommnad().Sql("select * from Customer").Query());
 }
예제 #4
0
 public void rollback()
 {
     DB.gDb().TransactionRollBack();
 }
예제 #5
0
파일: cls2.cs 프로젝트: kiarsy/GoodZilla
 public int CustomerUpdate2(string c, string s)
 {
     return(DB.gDb().CreateCommnad().Sql("UPDATE Customer SET name='" + s + "' where code=" + c).ExecuteNonQuery());
 }