RelationalQueryModelVisitor.IncludeNavigations 方法

定义

重载

IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>)

调用的高级方法以执行 Include 编译。

IncludeNavigations(IncludeSpecification, Type, Expression, Boolean)

为单个 Include 执行 Include 编译而调用的高级方法。

IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>)

调用的高级方法以执行 Include 编译。

protected override void IncludeNavigations (Remotion.Linq.QueryModel queryModel, System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.IncludeSpecification> includeSpecifications);
override this.IncludeNavigations : Remotion.Linq.QueryModel * System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.IncludeSpecification> -> unit
Protected Overrides Sub IncludeNavigations (queryModel As QueryModel, includeSpecifications As IReadOnlyCollection(Of IncludeSpecification))

参数

queryModel
Remotion.Linq.QueryModel

查询模型。

includeSpecifications
IReadOnlyCollection<IncludeSpecification>

要包含的相关数据。

适用于

IncludeNavigations(IncludeSpecification, Type, Expression, Boolean)

为单个 Include 执行 Include 编译而调用的高级方法。

protected override void IncludeNavigations (Microsoft.EntityFrameworkCore.Query.IncludeSpecification includeSpecification, Type resultType, System.Linq.Expressions.Expression accessorExpression, bool querySourceRequiresTracking);
override this.IncludeNavigations : Microsoft.EntityFrameworkCore.Query.IncludeSpecification * Type * System.Linq.Expressions.Expression * bool -> unit
Protected Overrides Sub IncludeNavigations (includeSpecification As IncludeSpecification, resultType As Type, accessorExpression As Expression, querySourceRequiresTracking As Boolean)

参数

includeSpecification
IncludeSpecification

要包括的导航属性。

resultType
Type

查询返回的结果的类型。

accessorExpression
Expression

要包含的导航属性的表达式。

querySourceRequiresTracking
Boolean

一个值,该值指示是否要跟踪此查询的结果。

适用于