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
值,指出是否要追蹤此查詢的結果。