RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeReference<TEntity,TIncludingEntity,TIncludedEntity> Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Essa é uma API interna que dá suporte à infraestrutura de Entity Framework Core e não está sujeita aos mesmos padrões de compatibilidade que as APIs públicas. Ele pode ser alterado ou removido sem aviso prévio em qualquer versão. Você só deve usá-lo diretamente em seu código com extrema cautela e saber que fazer isso pode resultar em falhas de aplicativo ao atualizar para uma nova versão Entity Framework Core.
[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)
Parâmetros de tipo
- TEntity
- TIncludingEntity
- TIncludedEntity
Parâmetros
- queryContext
- QueryContext
- entity
- TEntity
- relatedEntity
- TIncludedEntity
- navigation
- INavigationBase
- inverseNavigation
- INavigationBase
- fixup
- Action<TIncludingEntity,TIncludedEntity>
- trackingQuery
- Boolean
- Atributos