RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeReference<TEntity,TIncludingEntity,TIncludedEntity> Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Ini adalah API internal yang mendukung infrastruktur Entity Framework Core dan tidak tunduk pada standar kompatibilitas yang sama dengan API publik. Ini dapat diubah atau dihapus tanpa pemberitahuan dalam rilis apa pun. Anda hanya boleh menggunakannya langsung dalam kode Anda dengan sangat hati-hati dan mengetahui bahwa melakukannya dapat mengakibatkan kegagalan aplikasi saat memperbarui ke rilis Entity Framework Core baru.
[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)
Jenis parameter
- TEntity
- TIncludingEntity
- TIncludedEntity
Parameter
- queryContext
- QueryContext
- entity
- TEntity
- relatedEntity
- TIncludedEntity
- navigation
- INavigationBase
- inverseNavigation
- INavigationBase
- fixup
- Action<TIncludingEntity,TIncludedEntity>
- trackingQuery
- Boolean
- Atribut