EntityQueryModelVisitor.IncludeNavigations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IncludeNavigations(QueryModel) |
Includes related data requested in the LINQ query. |
IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>) |
Includes related data requested in the LINQ query. |
IncludeNavigations(IncludeSpecification, Type, Expression, Boolean) |
Includes a specific navigation property requested in the LINQ query. |
IncludeNavigations(QueryModel)
Includes related data requested in the LINQ query.
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)
Parameters
- queryModel
- Remotion.Linq.QueryModel
The query.
Applies to
IncludeNavigations(QueryModel, IReadOnlyCollection<IncludeSpecification>)
Includes related data requested in the LINQ query.
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))
Parameters
- queryModel
- Remotion.Linq.QueryModel
The query.
- includeSpecifications
- IReadOnlyCollection<IncludeSpecification>
Related data to be included.
Applies to
IncludeNavigations(IncludeSpecification, Type, Expression, Boolean)
Includes a specific navigation property requested in the LINQ query.
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)
Parameters
- includeSpecification
- IncludeSpecification
The navigation property to be included.
- resultType
- Type
The type of results returned by the query.
- accessorExpression
- Expression
Expression for the navigation property to be included.
- querySourceRequiresTracking
- Boolean
A value indicating whether results of this query are to be tracked.
Applies to
Entity Framework