Table of Contents

Class TranslatedQuery

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

Represents a LINQ query that has been translated to a MongoDB query.

public abstract class TranslatedQuery
Inheritance
TranslatedQuery
Derived
Inherited Members
Extension Methods

Constructors

TranslatedQuery(MongoCollection, Type)

Initializes a new instance of the MongoLinqQuery class.

Properties

Collection

Gets the collection being queried.

DocumentType

Get the document type being queried.

Methods

Execute()

Executes a query that returns a single result (overridden by subclasses).