예제 #1
0
 public AFieldTable(string name, string discript)
 {
     TableName     = name;
     TableDiscript = discript;
     TableFields.Add(new TableField()
     {
         Name     = "ID",
         Type     = "int identity(1,1) primary key not null",
         IsExtend = true
     });
     CommonFields.AddRange(
         new TableField[] {
         new TableField()
         {
             Name     = "修改人",
             Type     = TableField.FieldTypeList[TableFieldType.文本],
             IsExtend = true,
         },
         new TableField()
         {
             Name     = "修改时间",
             Type     = TableField.FieldTypeList[TableFieldType.日期时间],
             IsExtend = true,
             Value    = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")
         },
     });
 }
예제 #2
0
 protected override void LoadCommandFields()
 {
     base.LoadCommandFields();
     CommonFields.Clear();
     CommonFields.AddRange(
         FieldUtils.GetModuleFields(
             ModuleInfo.ModuleType,
             CODES.DEFMODFLD.FLDGROUP.SEARCH_EXPORT
             ));
 }
        //End TrungTT
        protected virtual void LoadCommandFields()
        {
            CommonFields =
                FieldUtils.GetModuleFields(
                    ModuleInfo.ModuleType,
                    CODES.DEFMODFLD.FLDGROUP.COMMON
                    );

            CommonFields.AddRange(
                FieldUtils.GetModuleFields(
                    ModuleInfo.ModuleID,
                    CODES.DEFMODFLD.FLDGROUP.COMMON
                    ));
        }
예제 #4
0
 protected override void LoadCommandFields()
 {
     base.LoadCommandFields();
     CommonFields.Clear();
     CommonFields.AddRange(
         FieldUtils.GetModuleFields(
             ModuleInfo.ModuleType,
             CODES.DEFMODFLD.FLDGROUP.SEND_MAIL
             ));
     //richEdit = new RichEditControl
     //{
     //    Name = "rtxLoadReport"
     //};
     //mainLayout.Controls.Add(richEdit);
 }