public void Insert(string GroupName, int Argb) { var item = new SysPrintColor(); item.GroupName = GroupName; item.Argb = Argb; item.Save(UserName); }
public void Update(int Id, string GroupName, int Argb) { var item = new SysPrintColor(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.GroupName = GroupName; item.Argb = Argb; item.Save(UserName); }