QueryCompilationContext.RegisterCorrelatedSubqueryMetadata Metodo

Definizione

Registra un mapping tra i modelli di query di raccolta correlati e i metadati necessari per elaborarli.

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)

Parametri

mainFromClause
Remotion.Linq.Clauses.MainFromClause

Clausola from principale.

trackingQuery
Boolean

Flag che indica se la query deve essere rilevata o meno.

firstNavigation
INavigation

Prima navigazione nella catena che conduce all'esplorazione della raccolta ottimizzata.

collectionNavigation
INavigation

Esplorazione raccolta ottimizzata.

parentQuerySource
Remotion.Linq.Clauses.IQuerySource

Origine query che è l'origine dello spostamento nella raccolta.

Si applica a