Click or drag to resize
LinqUtilsGrabFirstUsuableFieldInProjection Method
Grabs the first usable field in the projection definition passed in. For entity projections, this is the *last* field as due to inheritance it can be the first field is in the root of the hierarchy. For the caller this shouldn't matter.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public static IEntityFieldCore GrabFirstUsuableFieldInProjection(
	ProjectionDefinition projectionDefinition,
	IElementCreatorCore generatedCodeElementCreator
)

Parameters

projectionDefinition
Type: SD.LLBLGen.Pro.LinqSupportClassesProjectionDefinition
The projection definition.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code element creator.

Return Value

Type: IEntityFieldCore
First field object in the projection passed in.
See Also