QuerySpecAddFieldToProjectionIfNotPresent 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.10.0.0 (5.10.0)
Syntax protected abstract int AddFieldToProjectionIfNotPresent(
IEntityFieldCore fieldToCheck
)
Protected MustOverride 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