public void Insert(string ChargeName) { ChargeTypeTable item = new ChargeTypeTable(); item.ChargeName = ChargeName; item.Save(UserName); }
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); }