C# 클래스 DotNetNuke.Modules.UserDefinedTable.Components.FieldController

파일 보기 프로젝트 열기: DNNCommunity/DNN.FormAndList

공개 메소드들

메소드 설명
AddField ( int moduleId, string fieldTitle ) : int
AddField ( int moduleId, string fieldTitle, int before, string helpText, bool required, string fieldType, string Default, bool visible, bool showOnEdit, bool searchable, bool isPrivateColumn, bool multipleValues, string inputSettings, string outputSettings, bool normalizeFlag, string validationRule, string validationMessage, string editStyle ) : int

persists a new column setting in the database

ChangeFieldOrder ( IEnumerable fieldIds ) : void
DeleteField ( int userDefinedFieldId ) : void
GetFieldsTable ( int moduleId ) : DataTable

Gets all field definitions for one UDT table (module) from the database

GetFieldsTable ( int moduleId, bool addNewColumn ) : DataTable

Gets all field definitions for one UDT table (module) from the database

GetFieldsTable ( int moduleId, bool addNewColumn, bool addAuditColumns ) : DataTable

Gets all field definitions for one UDT table (module) from the database

GetMaxFieldSize ( ) : int
UpdateField ( int userDefinedFieldId, string fieldTitle, string helpText, bool required, string fieldType, string Default, bool visible, bool showOnEdit, bool searchable, bool isPrivateColumn, bool multipleValues, string inputSettings, string outputSettings, bool normalizeFlag, string validationRule, string validationMessage, string editStyle ) : void

persists an altered column setting in the database

메소드 상세

AddField() 공개 정적인 메소드

public static AddField ( int moduleId, string fieldTitle ) : int
moduleId int
fieldTitle string
리턴 int

AddField() 공개 정적인 메소드

persists a new column setting in the database
public static AddField ( int moduleId, string fieldTitle, int before, string helpText, bool required, string fieldType, string Default, bool visible, bool showOnEdit, bool searchable, bool isPrivateColumn, bool multipleValues, string inputSettings, string outputSettings, bool normalizeFlag, string validationRule, string validationMessage, string editStyle ) : int
moduleId int ID of the column
fieldTitle string ID of the column
before int
helpText string
required bool is an entry in this column required, when adding a row?
fieldType string type name of data field
Default string default value, entered when a new row is added
visible bool is this column visible in list view?
showOnEdit bool
searchable bool is this column available for search in list view?
isPrivateColumn bool
multipleValues bool
inputSettings string additional settings stored in single string
outputSettings string additional settings stored in single string
normalizeFlag bool display flag, usage dependant on data type
validationRule string optional expresion that needs to be true, to successfully enter a record
validationMessage string displayed, if validation rules is eveluated to "false"
editStyle string
리턴 int

ChangeFieldOrder() 공개 정적인 메소드

public static ChangeFieldOrder ( IEnumerable fieldIds ) : void
fieldIds IEnumerable
리턴 void

DeleteField() 공개 정적인 메소드

public static DeleteField ( int userDefinedFieldId ) : void
userDefinedFieldId int
리턴 void

GetFieldsTable() 공개 정적인 메소드

Gets all field definitions for one UDT table (module) from the database
public static GetFieldsTable ( int moduleId ) : DataTable
moduleId int
리턴 System.Data.DataTable

GetFieldsTable() 공개 정적인 메소드

Gets all field definitions for one UDT table (module) from the database
public static GetFieldsTable ( int moduleId, bool addNewColumn ) : DataTable
moduleId int
addNewColumn bool specifies, whether a new column shall be added
리턴 System.Data.DataTable

GetFieldsTable() 공개 정적인 메소드

Gets all field definitions for one UDT table (module) from the database
public static GetFieldsTable ( int moduleId, bool addNewColumn, bool addAuditColumns ) : DataTable
moduleId int
addNewColumn bool specifies, whether a new column shall be added
addAuditColumns bool specifies, whether colums for creation and update (user and timestamp) shall be added
리턴 System.Data.DataTable

GetMaxFieldSize() 공개 정적인 메소드

public static GetMaxFieldSize ( ) : int
리턴 int

UpdateField() 공개 정적인 메소드

persists an altered column setting in the database
public static UpdateField ( int userDefinedFieldId, string fieldTitle, string helpText, bool required, string fieldType, string Default, bool visible, bool showOnEdit, bool searchable, bool isPrivateColumn, bool multipleValues, string inputSettings, string outputSettings, bool normalizeFlag, string validationRule, string validationMessage, string editStyle ) : void
userDefinedFieldId int ID of the column field
fieldTitle string ID of the column
helpText string
required bool is an entry in this column required, when adding a row?
fieldType string type name of data field
Default string default value, entered when a new row is added
visible bool is this column visible in list view?
showOnEdit bool
searchable bool is this column available for search in list view?
isPrivateColumn bool
multipleValues bool
inputSettings string additional settings stored in single string
outputSettings string additional settings stored in single string
normalizeFlag bool display flag, usage dependant on data type
validationRule string optional expresion that needs to be true, to successfully enter a record
validationMessage string displayed, if validation rules is eveluated to "false"
editStyle string
리턴 void