Click or drag to resize

EntityQueryTEntitySelectT Method (ExpressionFuncT)

Specifies the projection of the query. It clears any existing projection and sets the projection to the one specified. This variant converts the specified projectionFunc into the projector lambda to pass to WithProjector and extracts the elements to place in the SQL query's projection from the projectionFunc. Use this overload to specify a typed resultset.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public DynamicQuery<T> Select<T>(
	Expression<Func<T>> projectionFunc
)

Parameters

projectionFunc
Type: System.Linq.ExpressionsExpressionFuncT
The projection func.

Type Parameters

T

Return Value

Type: DynamicQueryT
See Also