public void Insert(string BranchID, int GroupID, string UserID) { SysGroupUser item = new SysGroupUser(); item.BranchID = BranchID; item.GroupID = GroupID; item.UserID = UserID; item.Save(UserName); }
public void Update(string BranchID, int GroupID, string UserID) { SysGroupUser item = new SysGroupUser(); item.MarkOld(); item.IsLoaded = true; item.BranchID = BranchID; item.GroupID = GroupID; item.UserID = UserID; item.Save(UserName); }