Click or drag to resize
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.3.0.0 (5.3.0)
Syntax
protected abstract int AddFieldToProjectionIfNotPresent(
	IEntityFieldCore fieldToCheck
)

Parameters

fieldToCheck
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The field to check.

Return Value

Type: Int32
index of the field in the projection.
Remarks
assumes fieldToCheck has already been cloned
See Also