Click or drag to resize
MongoQueryableT Class
An implementation of IQueryable{{T}} for querying a MongoDB collection. This class has been named MongoQueryable instead of MongoQuery to avoid confusion with IMongoQuery.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.LinqMongoQueryableT

Namespace: MongoDB.Driver.Linq
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.0.1
Syntax
public class MongoQueryable<T> : IOrderedQueryable<T>, 
	IQueryable<T>, IEnumerable<T>, IOrderedQueryable, IQueryable, IEnumerable

Type Parameters

T
The type of the documents being queried.

The MongoQueryableT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator for the results of a MongoDB LINQ query.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMongoQuery
Gets the MongoDB query that will be sent to the server when this LINQ query is executed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodContainsAllT
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodContainsAnyT
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodExplainTOverloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.)
Public Extension MethodExplainT(Boolean)Overloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Public Extension MethodWithIndexT(String)Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.)
Public Extension MethodWithIndexT(BsonDocument)Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.)
Top
See Also