Langue

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.IncludeJsonEntityReference<TIncludingEntity,TIncludedEntity> Method

Definition

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[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)

Type Parameters

TStructural TIncludingEntity
TRelatedStructural TIncludedEntity

Parameters

queryContext
QueryContext
keyPropertyValues
Object[]
jsonReaderData
JsonReaderData
entitystructuralType
TIncludingEntity
innerShaper
Func<QueryContext,Object[],JsonReaderData,TIncludedEntity>
fixup
Action<TIncludingEntity,TIncludedEntity>
performFixuptrackingQuery
Boolean
Attributes

Applies to