MongoQueryProviderCreateQueryT Method (Expression) |
Creates a new instance of MongoQueryable{{T}} for this provider.
Namespace:
MongoDB.Driver.Linq
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public IQueryable<T> CreateQuery<T>(
Expression expression
)
Public Function CreateQuery(Of T) (
expression As Expression
) As IQueryable(Of T)
abstract CreateQuery :
expression : Expression -> IQueryable<'T>
override CreateQuery :
expression : Expression -> IQueryable<'T>
Parameters
- expression
- Type: System.Linq.ExpressionsExpression
The query expression.
Type Parameters
- T
- The type of the returned elements.
Return Value
Type:
IQueryableTA new instance of MongoQueryable{{T}}.
See Also