Beispiel #1
0
        public void Update(Int32 id, String currencyCode, String currencyName, String currencyNo, Boolean cFixed)
        {
            CurrencyGW.Update(id, currencyCode, currencyName, currencyNo, cFixed);
            DataRow dr = this[id];

            dr["Currency"]     = currencyName;
            dr["CurrencyCode"] = currencyCode;
            dr["CurrencyNo"]   = currencyNo;
            dr["Fixed"]        = cFixed;
        }
Beispiel #2
0
        public void Insert(String currencyCode, String currencyName, String currencyNo, Boolean cFixed)
        {
            Int32   id     = CurrencyGW.Insert(currencyCode, currencyName, currencyNo, cFixed);
            DataRow newRow = this.Table.NewRow();

            newRow["CurrencyCode"] = currencyCode;
            newRow["Currency"]     = currencyName;
            newRow["CurrencyNo"]   = currencyNo;
            newRow["Fixed"]        = cFixed;
            newRow["Id"]           = id;
            this.Table.Rows.Add(newRow);
        }
Beispiel #3
0
 public void Delete(Int32 id)
 {
     CurrencyGW.Delete(id);
     Table.Rows.Remove(this[id]);
 }