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.3.0.0 (5.3.0)
Syntax public DynamicQuery<T> WithProjector<T>(
ProjectionRowDelegate<T> projectorFunc
)
Public Function WithProjector(Of T) (
projectorFunc As ProjectionRowDelegate(Of T)
) As DynamicQuery(Of T)
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:
DynamicQueryTThis query converted as a DynamicQuery<T>
See Also