示例#1
0
 public static void UpdateBorrow(Borrow borrow)//Update
 {
     DBClass.InsertCommand("exec spUpdateBORROW " + borrow.UserId + "," + borrow.ItemId + " , '" + borrow.ReturnDate + "'");
 }
示例#2
0
 public static void InsertBorrow(Borrow borrow)//Insert
 {
     DBClass.InsertCommand("exec spInsertBORROW " + borrow.UserId + ", " + borrow.ItemId + ",'" + borrow.ReceiveDate + "', '" + borrow.ReturnDate + "'");
 }