Table of Contents

Class MongoQueryable<T>

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.Legacy.dll

An implementation of IQueryable{{T}} for querying a MongoDB collection. This class has been named MongoQueryable instead of MongoQuery to avoid confusion with IMongoQuery.

public class MongoQueryable<T> : IOrderedQueryable<T>, IOrderedQueryable, IQueryable<T>, IEnumerable<T>, IQueryable, IEnumerable

Type Parameters

T

The type of the documents being queried.

Inheritance
MongoQueryable<T>
Implements
Inherited Members
Extension Methods

Constructors

MongoQueryable(MongoQueryProvider)

Initializes a new instance of the MongoQueryable class.

MongoQueryable(MongoQueryProvider, Expression)

Initializes a new instance of the MongoQueryable class.

Methods

GetEnumerator()

Gets an enumerator for the results of a MongoDB LINQ query.

GetMongoQuery()

Gets the MongoDB query that will be sent to the server when this LINQ query is executed.