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.9.0.0 (5.9.0)
Syntax public DynamicQuery<T> Select<T>(
Expression<Func<T>> projectionFunc
)
Public Function Select(Of T) (
projectionFunc As Expression(Of Func(Of T))
) As DynamicQuery(Of T)
Parameters
- projectionFunc
- Type: System.Linq.ExpressionsExpressionFuncT
The projection func.
Type Parameters
- T
Return Value
Type:
DynamicQueryTSee Also