public void Update(int QuotesKey,decimal? SellAmount,int? SellCurrency,decimal? BuyAmount,int? BuyCurrency,decimal? Rate,decimal? ServiceFee,DateTime? PromisedDeliveryDate,DateTime? ActualDeliveryDate,DateTime DateCreated,int? Timing) { Quote item = new Quote(); item.MarkOld(); item.IsLoaded = true; item.QuotesKey = QuotesKey; item.SellAmount = SellAmount; item.SellCurrency = SellCurrency; item.BuyAmount = BuyAmount; item.BuyCurrency = BuyCurrency; item.Rate = Rate; item.ServiceFee = ServiceFee; item.PromisedDeliveryDate = PromisedDeliveryDate; item.ActualDeliveryDate = ActualDeliveryDate; item.DateCreated = DateCreated; item.Timing = Timing; item.Save(UserName); }