Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }