Share via


RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeReference<TEntity,TIncludingEntity,TIncludedEntity> Method

Definition

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void IncludeReference<TEntity,TIncludingEntity,TIncludedEntity> (Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, TEntity entity, TIncludedEntity? relatedEntity, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? inverseNavigation, Action<TIncludingEntity,TIncludedEntity> fixup, bool trackingQuery) where TEntity : class where TIncludingEntity : class, TEntity where TIncludedEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IncludeReference : Microsoft.EntityFrameworkCore.Query.QueryContext * 'Entity * 'IncludedEntity * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Action<#'Entity, 'IncludedEntity (requires 'IncludedEntity : null)> * bool -> unit (requires 'Entity : null and 'IncludedEntity : null)
Public Shared Sub IncludeReference(Of TEntity As Class, TIncludingEntity As Class, TIncludedEntity As Class) (queryContext As QueryContext, entity As TEntity, relatedEntity As TIncludedEntity, navigation As INavigationBase, inverseNavigation As INavigationBase, fixup As Action(Of TIncludingEntity, TIncludedEntity), trackingQuery As Boolean)

Type Parameters

TEntity
TIncludingEntity
TIncludedEntity

Parameters

queryContext
QueryContext
entity
TEntity
relatedEntity
TIncludedEntity
navigation
INavigationBase
inverseNavigation
INavigationBase
fixup
Action<TIncludingEntity,TIncludedEntity>
trackingQuery
Boolean
Attributes

Applies to