Click or drag to resize

DynamicQueryWithProjectorT Method

Specifies the projector delegate/func which will be used to produce typed instances for each row returned by the query.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public DynamicQuery<T> WithProjector<T>(
	ProjectionRowDelegate<T> projectorFunc
)

Parameters

projectorFunc
Type: SD.LLBLGen.Pro.QuerySpecProjectionRowDelegateT
The projector func, which will be used to produce a new instance of T for each row (in ProjectionRow) returned by the query.

Type Parameters

T
the type of the element which will be instantiated for each row returned by the query

Return Value

Type: DynamicQueryT
This query converted as a DynamicQuery<T>
See Also