MongoQueryProviderCreateQueryT Method (Expression) |
Creates a new instance of MongoQueryable{{T}} for this provider.
Namespace: MongoDB.Driver.LinqAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.1.0
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