Esempio n. 1
0
        public void Insert(int CurrencyID, string InvoiceCurrencyName, float?ExchangeRate, byte[] Ts)
        {
            InvoiceCurrencyTable item = new InvoiceCurrencyTable();

            item.CurrencyID = CurrencyID;

            item.InvoiceCurrencyName = InvoiceCurrencyName;

            item.ExchangeRate = ExchangeRate;

            item.Ts = Ts;


            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(int CurrencyID, string InvoiceCurrencyName, float?ExchangeRate, byte[] Ts)
        {
            InvoiceCurrencyTable item = new InvoiceCurrencyTable();

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

            item.CurrencyID = CurrencyID;

            item.InvoiceCurrencyName = InvoiceCurrencyName;

            item.ExchangeRate = ExchangeRate;

            item.Ts = Ts;

            item.Save(UserName);
        }
Esempio n. 3
0
 public bool Destroy(object CurrencyID)
 {
     return(InvoiceCurrencyTable.Destroy(CurrencyID) == 1);
 }
Esempio n. 4
0
 public bool Delete(object CurrencyID)
 {
     return(InvoiceCurrencyTable.Delete(CurrencyID) == 1);
 }