public void Insert(int?SourceCurrency, int?DestinationCurrency, decimal?FeePercentage, decimal?FeeStatic, int?ExchangeKey, string Apicall) { MarketsStatic item = new MarketsStatic(); item.SourceCurrency = SourceCurrency; item.DestinationCurrency = DestinationCurrency; item.FeePercentage = FeePercentage; item.FeeStatic = FeeStatic; item.ExchangeKey = ExchangeKey; item.Apicall = Apicall; item.Save(UserName); }
public void Update(int MarketStaticKey, int?SourceCurrency, int?DestinationCurrency, decimal?FeePercentage, decimal?FeeStatic, int?ExchangeKey, string Apicall) { MarketsStatic item = new MarketsStatic(); item.MarkOld(); item.IsLoaded = true; item.MarketStaticKey = MarketStaticKey; item.SourceCurrency = SourceCurrency; item.DestinationCurrency = DestinationCurrency; item.FeePercentage = FeePercentage; item.FeeStatic = FeeStatic; item.ExchangeKey = ExchangeKey; item.Apicall = Apicall; item.Save(UserName); }