Table of Contents

Class MongoQueryTranslator

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

A translator from LINQ expression queries to Mongo queries.

public static class MongoQueryTranslator
Inheritance
MongoQueryTranslator
Inherited Members

Methods

Translate(MongoQueryProvider, Expression)

Translate a MongoDB LINQ query.

public static TranslatedQuery Translate(MongoQueryProvider provider, Expression expression)

Parameters

provider MongoQueryProvider

The MongoDB query provider.

expression Expression

The LINQ query expression.

Returns

TranslatedQuery

A TranslatedQuery.

Translate(IQueryable)

Translate a MongoDB LINQ query.

public static TranslatedQuery Translate(IQueryable query)

Parameters

query IQueryable

The MongoDB LINQ query.

Returns

TranslatedQuery

A TranslatedQuery.