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);
	    }
	    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);
	    }