Lingua

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

Definizione

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione 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)

Parametri di tipo

TEntity
TIncludingEntity
TIncludedEntity

Parametri

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

Si applica a