public void Insert(int ExchangeCurrencyKey, int ExchangeKey, int Currency)
        {
            ExchangeCurrency item = new ExchangeCurrency();

            item.ExchangeCurrencyKey = ExchangeCurrencyKey;

            item.ExchangeKey = ExchangeKey;

            item.Currency = Currency;


            item.Save(UserName);
        }
        public void Update(int ExchangeCurrencyKey, int ExchangeKey, int Currency)
        {
            ExchangeCurrency item = new ExchangeCurrency();

            item.MarkOld();
            item.IsLoaded = true;

            item.ExchangeCurrencyKey = ExchangeCurrencyKey;

            item.ExchangeKey = ExchangeKey;

            item.Currency = Currency;

            item.Save(UserName);
        }
 public bool Destroy(object ExchangeCurrencyKey)
 {
     return(ExchangeCurrency.Destroy(ExchangeCurrencyKey) == 1);
 }
 public bool Delete(object ExchangeCurrencyKey)
 {
     return(ExchangeCurrency.Delete(ExchangeCurrencyKey) == 1);
 }