public virtual void Initialize(ModuleFormInfo info)
 {
     Order            = info.Order;
     fDataBase        = info.DataBase;
     ModuleFormConfig = info.ModuleFormConfig;
     FullColumns      = info.FullColumns;
     InternalInitialize(info.DataSet, info.PageSize, info.KeyValue, info.ForeignKeyValue, info.TableName, info.PrimaryKey, info.ForeignKey, info.IsFillEmpty, info.DataFormConfig);
 }
Exemple #2
0
        public ModuleFormInfo(DataSet dataSet, int pageSize, string keyValue, string foreignKeyValue,
                              string tableName, string primaryKey, string foreignKey, bool isFillEmpty, DataFormConfig dataFormConfig,
                              string order, DataBaseConfig dataBase, FormConfig moduleFormConfig)
        {
            DataSet         = dataSet;
            PageSize        = pageSize;
            KeyValue        = keyValue;
            ForeignKey      = foreignKey;
            ForeignKeyValue = foreignKeyValue;
            TableName       = tableName;
            PrimaryKey      = primaryKey;
            ForeignKey      = foreignKey;
            IsFillEmpty     = isFillEmpty;
            DataFormConfig  = dataFormConfig;
            Order           = order;

            DataBase         = dataBase;
            ModuleFormConfig = moduleFormConfig;
        }