DynamicQueryAddFieldToProjectionIfNotPresent Method |
Adds the field to projection if not present already. Uses field alias checks. If this query is an entity query, it won't add any fields, only
verify whether the field is present.
Namespace:
SD.LLBLGen.Pro.QuerySpec
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax protected override int AddFieldToProjectionIfNotPresent(
IEntityFieldCore fieldToCheck
)
Protected Overrides Function AddFieldToProjectionIfNotPresent (
fieldToCheck As IEntityFieldCore
) As Integer
Parameters
- fieldToCheck
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The field to check.
Return Value
Type:
Int32index of the field in the projection.
Remarks assumes fieldToCheck has already been cloned
See Also