C# Class MongoDB.Driver.Linq.TranslatedQuery

Represents a LINQ query that has been translated to a MongoDB query.
Mostra file Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
Execute ( ) : object

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

Protected Methods

Method Description
TranslatedQuery ( MongoCollection collection, Type documentType ) : System

Initializes a new instance of the MongoLinqQuery class.

Method Details

Execute() public method

Executes a query that returns a single result (overridden by subclasses).
public Execute ( ) : object
return object

TranslatedQuery() protected method

Initializes a new instance of the MongoLinqQuery class.
protected TranslatedQuery ( MongoCollection collection, Type documentType ) : System
collection MongoCollection The collection being queried.
documentType System.Type The document type being queried.
return System