Язык

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeJsonEntityReference<TIncludingEntity,TIncludedEntity> Метод

Определение

Это внутренний API, который поддерживает инфраструктуру Entity Framework Core и не соответствует тем же стандартам совместимости, что и общедоступные API. Его можно изменить или удалить без уведомления в любом выпуске. Его следует использовать непосредственно в коде с крайней осторожностью и зная, что это может привести к сбоям приложений при обновлении до нового выпуска Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void IncludeJsonEntityReference<TStructural,TRelatedStructural>(Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, object[]? keyPropertyValues, Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData? jsonReaderData, TStructural structuralType, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,object[]?,Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData,TRelatedStructural> innerShaper, Action<TStructural,TRelatedStructural> fixup, bool performFixup);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void IncludeJsonEntityReference<TIncludingEntity,TIncludedEntity>(Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, object[] keyPropertyValues, Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData? jsonReaderData, TIncludingEntity entity, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,object[],Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData,TIncludedEntity> innerShaper, Action<TIncludingEntity,TIncludedEntity> fixup, bool trackingQuery) where TIncludingEntity : class where TIncludedEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IncludeJsonEntityReference : Microsoft.EntityFrameworkCore.Query.QueryContext * obj[] * Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData * 'Structural * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, obj[], Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData, 'RelatedStructural> * Action<'Structural, 'RelatedStructural> * bool -> unit
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IncludeJsonEntityReference : Microsoft.EntityFrameworkCore.Query.QueryContext * obj[] * Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData * 'IncludingEntity * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, obj[], Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData, 'IncludedEntity (requires 'IncludedEntity : null)> * Action<'IncludingEntity, 'IncludedEntity (requires 'IncludingEntity : null and 'IncludedEntity : null)> * bool -> unit (requires 'IncludingEntity : null and 'IncludedEntity : null)
Public Shared Sub IncludeJsonEntityReference(Of TStructural, TRelatedStructural) (queryContext As QueryContext, keyPropertyValues As Object(), jsonReaderData As JsonReaderData, structuralType As TStructural, innerShaper As Func(Of QueryContext, Object(), JsonReaderData, TRelatedStructural), fixup As Action(Of TStructural, TRelatedStructural), performFixup As Boolean)
Public Shared Sub IncludeJsonEntityReference(Of TIncludingEntity As Class, TIncludedEntity As Class) (queryContext As QueryContext, keyPropertyValues As Object(), jsonReaderData As JsonReaderData, entity As TIncludingEntity, innerShaper As Func(Of QueryContext, Object(), JsonReaderData, TIncludedEntity), fixup As Action(Of TIncludingEntity, TIncludedEntity), trackingQuery As Boolean)

Параметры типа

TStructural TIncludingEntity
TRelatedStructural TIncludedEntity

Параметры

queryContext
QueryContext
keyPropertyValues
Object[]
jsonReaderData
JsonReaderData
entitystructuralType
TIncludingEntity
innerShaper
Func<QueryContext,Object[],JsonReaderData,TIncludedEntity>
fixup
Action<TIncludingEntity,TIncludedEntity>
performFixuptrackingQuery
Boolean
Атрибуты

Применяется к