示例#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());
 }