ObjectQuery<'T>.Select Method (String, ObjectParameter)
Limits the query results to only the properties that are defined in the specified projection.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
member Select : projection:string * [<ParamArrayAttribute>] parameters:ObjectParameter -> ObjectQuery<DbDataRecord>
The list of selected properties that defines the projection.
Zero or more parameters that are used in this method.
ObjectQuery<'T> returned by the method is always a row type of DbDataRecord. Use the SelectValue<'TResultType> method to return values that are simple types, entity types, or complex types. For more information, see Object Queries.applies the projection specified by the projection parameter. The
When a navigation property is included in the projection, the query results include a collection of nested DbDataRecord objects. For more information, see How to: Navigate Relationships Using Navigation Properties.
Available since 3.5