RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection<TIncludingEntity,TIncludedEntity> Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Это внутренний API, который поддерживает инфраструктуру Entity Framework Core и не соответствует тем же стандартам совместимости, что и общедоступные API. Его можно изменить или удалить без уведомления в любом выпуске. Его следует использовать непосредственно в коде с крайней осторожностью и зная, что это может привести к сбоям приложений при обновлении до нового выпуска Entity Framework Core.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static void PopulateIncludeCollection<TIncludingEntity,TIncludedEntity>(int collectionId, Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, System.Data.Common.DbDataReader dbDataReader, Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator resultCoordinator, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,object[]> parentIdentifier, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,object[]> outerIdentifier, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,object[]> selfIdentifier, System.Collections.Generic.IReadOnlyList<Func<object,object,bool>> parentIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Func<object,object,bool>> outerIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Func<object,object,bool>> selfIdentifierValueComparers, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,Microsoft.EntityFrameworkCore.Query.Internal.ResultContext,Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator,TIncludedEntity> innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? inverseNavigation, Action<TIncludingEntity,TIncludedEntity> fixup, bool trackingQuery) where TIncludingEntity : class where TIncludedEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member PopulateIncludeCollection : int * Microsoft.EntityFrameworkCore.Query.QueryContext * System.Data.Common.DbDataReader * Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * System.Collections.Generic.IReadOnlyList<Func<obj, obj, bool>> * System.Collections.Generic.IReadOnlyList<Func<obj, obj, bool>> * System.Collections.Generic.IReadOnlyList<Func<obj, obj, bool>> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, Microsoft.EntityFrameworkCore.Query.Internal.ResultContext, Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator, 'IncludedEntity (requires 'IncludedEntity : null)> * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Action<'IncludingEntity, 'IncludedEntity (requires 'IncludingEntity : null and 'IncludedEntity : null)> * bool -> unit (requires 'IncludingEntity : null and 'IncludedEntity : null)
Public Shared Sub PopulateIncludeCollection(Of TIncludingEntity As Class, TIncludedEntity As Class) (collectionId As Integer, queryContext As QueryContext, dbDataReader As DbDataReader, resultCoordinator As SingleQueryResultCoordinator, parentIdentifier As Func(Of QueryContext, DbDataReader, Object()), outerIdentifier As Func(Of QueryContext, DbDataReader, Object()), selfIdentifier As Func(Of QueryContext, DbDataReader, Object()), parentIdentifierValueComparers As IReadOnlyList(Of Func(Of Object, Object, Boolean)), outerIdentifierValueComparers As IReadOnlyList(Of Func(Of Object, Object, Boolean)), selfIdentifierValueComparers As IReadOnlyList(Of Func(Of Object, Object, Boolean)), innerShaper As Func(Of QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, TIncludedEntity), inverseNavigation As INavigationBase, fixup As Action(Of TIncludingEntity, TIncludedEntity), trackingQuery As Boolean)
Параметры типа
- TIncludingEntity
- TIncludedEntity
Параметры
- collectionId
- Int32
- queryContext
- QueryContext
- dbDataReader
- DbDataReader
- resultCoordinator
- Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator
- parentIdentifier
- Func<QueryContext,DbDataReader,Object[]>
- outerIdentifier
- Func<QueryContext,DbDataReader,Object[]>
- selfIdentifier
- Func<QueryContext,DbDataReader,Object[]>
- parentIdentifierValueComparers
- IReadOnlyList<Func<Object,Object,Boolean>>
- outerIdentifierValueComparers
- IReadOnlyList<Func<Object,Object,Boolean>>
- selfIdentifierValueComparers
- IReadOnlyList<Func<Object,Object,Boolean>>
- innerShaper
- Func<QueryContext,DbDataReader,Microsoft.EntityFrameworkCore.Query.Internal.ResultContext,Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator,TIncludedEntity>
- inverseNavigation
- INavigationBase
- fixup
- Action<TIncludingEntity,TIncludedEntity>
- trackingQuery
- Boolean
- Атрибуты