Compartir a través de


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<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 * '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 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

TIncludingEntity
TIncludedEntity

Parameters

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

Applies to