Table of Contents

Method Translate

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

Translate(IQueryable)

Translate a MongoDB LINQ query.

public static TranslatedQuery Translate(IQueryable query)

Parameters

query IQueryable

The MongoDB LINQ query.

Returns

TranslatedQuery

A TranslatedQuery.

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.