Click or drag to resize

ValueListProjectionDefinitionAddFieldToProjection Method (IEntityFieldCore, Type)

Adds the specified field to the projection. This routine will both add the field to the query elements and also add a projector to the datavalueprojectors.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public void AddFieldToProjection(
	IEntityFieldCore field,
	Type targetType
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The field.
targetType
Type: SystemType
Type of the target of the projection. This is specified separately as it can differ from the type of the field or the field can't have a type specified at this point because it's for example a db expression.
See Also