コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }