public void Insert(string Name,string ValueX) { Setting item = new Setting(); item.Name = Name; item.ValueX = ValueX; item.Save(UserName); }
public void Update(int SettingID,string Name,string ValueX) { Setting item = new Setting(); item.SettingID = SettingID; item.Name = Name; item.ValueX = ValueX; item.MarkOld(); item.Save(UserName); }