Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public bool Destroy(object ControlId)
 {
     return(LFormControl.Destroy(ControlId) == 1);
 }
Ejemplo n.º 4
0
 public bool Delete(object ControlId)
 {
     return(LFormControl.Delete(ControlId) == 1);
 }