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.11.0.0 (5.11.23.1114)
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