コード例 #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);
        }
コード例 #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);
        }