public void Insert(string UserName, int ControlId) { LUserFormControl item = new LUserFormControl(); item.UserName = UserName; item.ControlId = ControlId; item.Save(UserName); }
public void Update(string UserName, int ControlId) { LUserFormControl item = new LUserFormControl(); item.MarkOld(); item.IsLoaded = true; item.UserName = UserName; item.ControlId = ControlId; item.Save(UserName); }
public bool Destroy(object UserName) { return(LUserFormControl.Destroy(UserName) == 1); }