Share via


RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateSplitCollectionAsync<TCollection,TElement,TRelatedEntity> 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 System.Threading.Tasks.Task PopulateSplitCollectionAsync<TCollection,TElement,TRelatedEntity> (int collectionId, Microsoft.EntityFrameworkCore.Query.RelationalQueryContext queryContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy executionStrategy, Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandResolver relationalCommandResolver, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.ReaderColumn?>? readerColumns, bool detailedErrorsEnabled, Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator resultCoordinator, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,object[]> childIdentifier, System.Collections.Generic.IReadOnlyList<Func<object,object,bool>> identifierValueComparers, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,Microsoft.EntityFrameworkCore.Query.Internal.ResultContext,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,TRelatedEntity> innerShaper, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,System.Threading.Tasks.Task>? relatedDataLoaders) where TCollection : class, System.Collections.Generic.ICollection<TElement> where TRelatedEntity : TElement;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member PopulateSplitCollectionAsync : int * Microsoft.EntityFrameworkCore.Query.RelationalQueryContext * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy * Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandResolver * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.ReaderColumn> * bool * Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * 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.SplitQueryResultCoordinator, #'Element> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy, Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task (requires 'Collection : null and 'Collection :> System.Collections.Generic.ICollection<'Element>)
Public Shared Function PopulateSplitCollectionAsync(Of TCollection As {Class, ICollection(Of TElement)}, TElement As {Class, ICollection(Of TElement)}, TRelatedEntity As {Class, ICollection(Of TElement)}) (collectionId As Integer, queryContext As RelationalQueryContext, executionStrategy As IExecutionStrategy, relationalCommandResolver As RelationalCommandResolver, readerColumns As IReadOnlyList(Of ReaderColumn), detailedErrorsEnabled As Boolean, resultCoordinator As SplitQueryResultCoordinator, childIdentifier As Func(Of QueryContext, DbDataReader, Object()), identifierValueComparers As IReadOnlyList(Of Func(Of Object, Object, Boolean)), innerShaper As Func(Of QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, TRelatedEntity), relatedDataLoaders As Func(Of QueryContext, IExecutionStrategy, SplitQueryResultCoordinator, Task)) As Task

Type Parameters

TCollection
TElement
TRelatedEntity

Parameters

collectionId
Int32
queryContext
RelationalQueryContext
executionStrategy
IExecutionStrategy
relationalCommandResolver
Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandResolver
readerColumns
IReadOnlyList<ReaderColumn>
detailedErrorsEnabled
Boolean
resultCoordinator
Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator
childIdentifier
Func<QueryContext,DbDataReader,Object[]>
identifierValueComparers
IReadOnlyList<Func<Object,Object,Boolean>>
innerShaper
Func<QueryContext,DbDataReader,Microsoft.EntityFrameworkCore.Query.Internal.ResultContext,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,TRelatedEntity>
relatedDataLoaders
Func<QueryContext,IExecutionStrategy,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,Task>

Returns

Attributes

Applies to