Click or drag to resize

EntityFieldsCore<TField>.DefineField Method (IEntityFieldCore, Int32, String, String, AggregateFunction)

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.4.0.0 (5.4.0)
Syntax
public void DefineField(
	IEntityFieldCore field,
	int indexInFields,
	string alias,
	string entityAlias,
	AggregateFunction aggregateFunctionToApply
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFieldCore
The field to add.
indexInFields
Type: System.Int32
The position in the resultset where the field will be created on
alias
Type: System.String
The alias to use for this field in the resultset
entityAlias
Type: System.String
The alias to use for the entity this field belongs to. Required to specify multiple times the same entity in a typed list
aggregateFunctionToApply
Type: SD.LLBLGen.Pro.ORMSupportClasses.AggregateFunction
the aggregate function to apply to this field.

Implements

IEntityFieldsCore.DefineField(IEntityFieldCore, Int32, String, String, AggregateFunction)
See Also