Table of Contents

Class MongoQueryCompilationContext

Namespace
MongoDB.EntityFrameworkCore.Query
Assembly
MongoDB.EntityFrameworkCore.dll

The primary data structure representing the state/components used during query compilation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class MongoQueryCompilationContext : QueryCompilationContext
Inheritance
MongoQueryCompilationContext
Inherited Members

Remarks

Constructors

MongoQueryCompilationContext(QueryCompilationContextDependencies, bool)

Create a new MongoQueryCompilationContext.

Methods

CreateQueryExecutor<TResult>(Expression)

Creates the query executor func which gives results for this query.

RegisterRuntimeParameter(string, LambdaExpression)

Registers a runtime parameter that is being added at some point during the compilation phase. A lambda must be provided, which will extract the parameter's value from the QueryContext every time the query is executed.