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.10.0.0 (5.10.0)
Syntaxpublic void AddFieldToProjection(
	IEntityFieldCore field,
	Type targetType
)
Public Sub AddFieldToProjection ( 
	field As IEntityFieldCore,
	targetType As Type
)
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