public void Update(int TakingID, int?PawnageID, int?ClassID, int?StatisticClassID, string ServiceFee, string InterestFee, string ReturnFee, string OverdueFee, string OperationDate) { DDTaking item = new DDTaking(); item.MarkOld(); item.IsLoaded = true; item.TakingID = TakingID; item.PawnageID = PawnageID; item.ClassID = ClassID; item.StatisticClassID = StatisticClassID; item.ServiceFee = ServiceFee; item.InterestFee = InterestFee; item.ReturnFee = ReturnFee; item.OverdueFee = OverdueFee; item.OperationDate = OperationDate; item.Save(UserName); }
public bool Destroy(object TakingID) { return(DDTaking.Destroy(TakingID) == 1); }
public bool Delete(object TakingID) { return(DDTaking.Delete(TakingID) == 1); }