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") }, }); }
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 )); }
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); }