Язык

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeJsonEntityCollection<TIncludingEntity,TIncludedCollectionElement> Метод

Определение

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void IncludeJsonEntityCollection<TIncludingEntity,TIncludedCollectionElement>(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,TIncludedCollectionElement> innerShaper, Action<TIncludingEntity> getOrCreateCollectionObject, Action<TIncludingEntity,TIncludedCollectionElement> fixup, bool performFixup) where TIncludingEntity : class where TIncludedCollectionElement : class;
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void IncludeJsonEntityCollection<TIncludingEntity,TIncludedCollectionElement>(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,TIncludedCollectionElement> innerShaper, Action<TIncludingEntity> getOrCreateCollectionObject, Action<TIncludingEntity,TIncludedCollectionElement> fixup, bool trackingQuery) where TIncludingEntity : class where TIncludedCollectionElement : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IncludeJsonEntityCollection : Microsoft.EntityFrameworkCore.Query.QueryContext * obj[] * Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData * 'IncludingEntity * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, obj[], Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData, 'IncludedCollectionElement (requires 'IncludedCollectionElement : null)> * Action<'IncludingEntity (requires 'IncludingEntity : null)> * Action<'IncludingEntity, 'IncludedCollectionElement (requires 'IncludingEntity : null and 'IncludedCollectionElement : null)> * bool -> unit (requires 'IncludingEntity : null and 'IncludedCollectionElement : null)
Public Shared Sub IncludeJsonEntityCollection(Of TIncludingEntity As Class, TIncludedCollectionElement As Class) (queryContext As QueryContext, keyPropertyValues As Object(), jsonReaderData As JsonReaderData, entity As TIncludingEntity, innerShaper As Func(Of QueryContext, Object(), JsonReaderData, TIncludedCollectionElement), getOrCreateCollectionObject As Action(Of TIncludingEntity), fixup As Action(Of TIncludingEntity, TIncludedCollectionElement), performFixup As Boolean)
Public Shared Sub IncludeJsonEntityCollection(Of TIncludingEntity As Class, TIncludedCollectionElement As Class) (queryContext As QueryContext, keyPropertyValues As Object(), jsonReaderData As JsonReaderData, entity As TIncludingEntity, innerShaper As Func(Of QueryContext, Object(), JsonReaderData, TIncludedCollectionElement), getOrCreateCollectionObject As Action(Of TIncludingEntity), fixup As Action(Of TIncludingEntity, TIncludedCollectionElement), trackingQuery As Boolean)

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

TIncludingEntity
TIncludedCollectionElement

Параметры

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

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