public void Insert(string FormName, string ControlName, string ControlTypeName, string PropertyName, string ValueX) { LFormControl item = new LFormControl(); item.FormName = FormName; item.ControlName = ControlName; item.ControlTypeName = ControlTypeName; item.PropertyName = PropertyName; item.ValueX = ValueX; item.Save(UserName); }
public void Update(int ControlId, string FormName, string ControlName, string ControlTypeName, string PropertyName, string ValueX) { LFormControl item = new LFormControl(); item.MarkOld(); item.IsLoaded = true; item.ControlId = ControlId; item.FormName = FormName; item.ControlName = ControlName; item.ControlTypeName = ControlTypeName; item.PropertyName = PropertyName; item.ValueX = ValueX; item.Save(UserName); }
public bool Destroy(object ControlId) { return(LFormControl.Destroy(ControlId) == 1); }
public bool Delete(object ControlId) { return(LFormControl.Delete(ControlId) == 1); }