Click or drag to resize
IEntityFieldsCoreDefineField Method (IEntityFieldCore, Int32, String, String)
Adds the specified field on the position indexInFields in the resultset.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
void DefineField(
	IEntityFieldCore fieldToAdd,
	int indexInFields,
	string alias,
	string entityAlias
)

Parameters

fieldToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The field to add.
indexInFields
Type: SystemInt32
The position in the resultset where the field will be created on
alias
Type: SystemString
The alias to use for this field in the resultset
entityAlias
Type: SystemString
The alias to use for the entity this field belongs to. Required to specify multiple times the same entity in a typed list
See Also