public void Update(int SalesPersonID, DateTime QuotaDate, decimal SalesQuota, Guid Rowguid, DateTime ModifiedDate) { SalesPersonQuotaHistory item = new SalesPersonQuotaHistory(); item.SalesPersonID = SalesPersonID; item.QuotaDate = QuotaDate; item.SalesQuota = SalesQuota; item.Rowguid = Rowguid; item.ModifiedDate = ModifiedDate; item.MarkOld(); item.Save(UserName); }
public bool Destroy(object SalesPersonID) { return(SalesPersonQuotaHistory.Destroy(SalesPersonID) == 1); }