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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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