Exemplo 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);
        }
Exemplo 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);
        }
Exemplo n.º 3
0
 public bool Destroy(object MarketStaticKey)
 {
     return(MarketsStatic.Destroy(MarketStaticKey) == 1);
 }
Exemplo n.º 4
0
 public bool Delete(object MarketStaticKey)
 {
     return(MarketsStatic.Delete(MarketStaticKey) == 1);
 }