コード例 #1
0
	    public void Insert(string ChargeName)
	    {
		    ChargeTypeTable item = new ChargeTypeTable();
		    
            item.ChargeName = ChargeName;
            
	    
		    item.Save(UserName);
	    }
コード例 #2
0
	    public void Update(int ChargeID,string ChargeName)
	    {
		    ChargeTypeTable item = new ChargeTypeTable();
	        item.MarkOld();
	        item.IsLoaded = true;
		    
			item.ChargeID = ChargeID;
				
			item.ChargeName = ChargeName;
				
	        item.Save(UserName);
	    }