Share via


QueryCompilationContext.RegisterCorrelatedSubqueryMetadata Method

Definition

Registers a mapping between correlated collection query models and metadata needed to process them.

public virtual void RegisterCorrelatedSubqueryMetadata (Remotion.Linq.Clauses.MainFromClause mainFromClause, bool trackingQuery, Microsoft.EntityFrameworkCore.Metadata.INavigation firstNavigation, Microsoft.EntityFrameworkCore.Metadata.INavigation collectionNavigation, Remotion.Linq.Clauses.IQuerySource parentQuerySource);
abstract member RegisterCorrelatedSubqueryMetadata : Remotion.Linq.Clauses.MainFromClause * bool * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Metadata.INavigation * Remotion.Linq.Clauses.IQuerySource -> unit
override this.RegisterCorrelatedSubqueryMetadata : Remotion.Linq.Clauses.MainFromClause * bool * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Metadata.INavigation * Remotion.Linq.Clauses.IQuerySource -> unit
Public Overridable Sub RegisterCorrelatedSubqueryMetadata (mainFromClause As MainFromClause, trackingQuery As Boolean, firstNavigation As INavigation, collectionNavigation As INavigation, parentQuerySource As IQuerySource)

Parameters

mainFromClause
Remotion.Linq.Clauses.MainFromClause

The main from clause.

trackingQuery
Boolean

Flag indicating whether query should be tracked or not.

firstNavigation
INavigation

First navigation in the chain leading to collection navigation that is being optimized.

collectionNavigation
INavigation

Collection navigation that is being optimized.

parentQuerySource
Remotion.Linq.Clauses.IQuerySource

Query source that is origin of the collection navigation.

Applies to