QueryCompilationContext.RegisterCorrelatedSubqueryMetadata 方法

定义

注册相关集合查询模型与处理它们所需的元数据之间的映射。

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)

参数

mainFromClause
Remotion.Linq.Clauses.MainFromClause

main from 子句。

trackingQuery
Boolean

指示是否应跟踪查询的标志。

firstNavigation
INavigation

链中的第一个导航,导致正在优化的集合导航。

collectionNavigation
INavigation

正在优化的集合导航。

parentQuerySource
Remotion.Linq.Clauses.IQuerySource

集合导航源的查询源。

适用于