EntityQueryModelVisitor.IncludeNavigations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
IncludeNavigations(QueryModel) |
包括 LINQ 查询中请求的相关数据。 |
IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>) |
包括 LINQ 查询中请求的相关数据。 |
IncludeNavigations(IncludeSpecification, Type, Expression, Boolean) |
包括 LINQ 查询中请求的特定导航属性。 |
IncludeNavigations(QueryModel)
包括 LINQ 查询中请求的相关数据。
protected virtual void IncludeNavigations (Remotion.Linq.QueryModel queryModel);
abstract member IncludeNavigations : Remotion.Linq.QueryModel -> unit
override this.IncludeNavigations : Remotion.Linq.QueryModel -> unit
Protected Overridable Sub IncludeNavigations (queryModel As QueryModel)
参数
- queryModel
- Remotion.Linq.QueryModel
查询。
适用于
IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>)
包括 LINQ 查询中请求的相关数据。
protected virtual void IncludeNavigations (Remotion.Linq.QueryModel queryModel, System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.IncludeSpecification> includeSpecifications);
abstract member IncludeNavigations : Remotion.Linq.QueryModel * System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.IncludeSpecification> -> unit
override this.IncludeNavigations : Remotion.Linq.QueryModel * System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.IncludeSpecification> -> unit
Protected Overridable Sub IncludeNavigations (queryModel As QueryModel, includeSpecifications As IReadOnlyCollection(Of IncludeSpecification))
参数
- queryModel
- Remotion.Linq.QueryModel
查询。
- includeSpecifications
- IReadOnlyCollection<IncludeSpecification>
要包含的相关数据。
适用于
IncludeNavigations(IncludeSpecification, Type, Expression, Boolean)
包括 LINQ 查询中请求的特定导航属性。
protected virtual void IncludeNavigations (Microsoft.EntityFrameworkCore.Query.IncludeSpecification includeSpecification, Type resultType, System.Linq.Expressions.Expression accessorExpression, bool querySourceRequiresTracking);
abstract member IncludeNavigations : Microsoft.EntityFrameworkCore.Query.IncludeSpecification * Type * System.Linq.Expressions.Expression * bool -> unit
override this.IncludeNavigations : Microsoft.EntityFrameworkCore.Query.IncludeSpecification * Type * System.Linq.Expressions.Expression * bool -> unit
Protected Overridable Sub IncludeNavigations (includeSpecification As IncludeSpecification, resultType As Type, accessorExpression As Expression, querySourceRequiresTracking As Boolean)
参数
- includeSpecification
- IncludeSpecification
要包括的导航属性。
- resultType
- Type
查询返回的结果的类型。
- accessorExpression
- Expression
要包含的导航属性的表达式。
- querySourceRequiresTracking
- Boolean
一个 值,该值指示是否要跟踪此查询的结果。