RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeJsonEntityCollection<TIncludingEntity,TIncludedCollectionElement> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
这是一个内部 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
- 特性