Click or drag to resize

EntityQuery<TEntity>.Select<T> Method (Expression<Func<T>>)

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.5.0.0 (5.5.18.1019)
Syntax
public DynamicQuery<T> Select<T>(
	Expression<Func<T>> projectionFunc
)

Parameters

projectionFunc
Type: System.Linq.Expressions.Expression<Func<T>>
The projection func.

Type Parameters

T

Return Value

Type: DynamicQuery<T>
See Also