IEntityFieldsCoreDefineField Method (IEntityFieldCore, Int32, 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.1.0.0 (5.1.0)
Syntax void DefineField(
IEntityFieldCore fieldToAdd,
int indexInFields,
string alias,
AggregateFunction aggregateFunctionToApply
)
Sub DefineField (
fieldToAdd As IEntityFieldCore,
indexInFields As Integer,
alias As String,
aggregateFunctionToApply As AggregateFunction
)
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 - aggregateFunctionToApply
- Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
the aggregate function to apply to this field.
See Also