RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateSplitIncludeCollectionAsync<TIncludingEntity,TIncludedEntity> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 PopulateSplitIncludeCollectionAsync<TIncludingEntity,TIncludedEntity> (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,TIncludedEntity> innerShaper, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,System.Threading.Tasks.Task>? relatedDataLoaders, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? inverseNavigation, Action<TIncludingEntity,TIncludedEntity> fixup, bool trackingQuery) where TIncludingEntity : class where TIncludedEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member PopulateSplitIncludeCollectionAsync : 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, 'IncludedEntity (requires 'IncludedEntity : null)> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy, Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator, System.Threading.Tasks.Task> * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Action<'IncludingEntity, 'IncludedEntity (requires 'IncludingEntity : null and 'IncludedEntity : null)> * bool -> System.Threading.Tasks.Task (requires 'IncludingEntity : null and 'IncludedEntity : null)
Public Shared Function PopulateSplitIncludeCollectionAsync(Of TIncludingEntity As Class, TIncludedEntity As Class) (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, TIncludedEntity), relatedDataLoaders As Func(Of QueryContext, IExecutionStrategy, SplitQueryResultCoordinator, Task), inverseNavigation As INavigationBase, fixup As Action(Of TIncludingEntity, TIncludedEntity), trackingQuery As Boolean) As Task
Type Parameters
- TIncludingEntity
- TIncludedEntity
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,TIncludedEntity>
- relatedDataLoaders
- Func<QueryContext,IExecutionStrategy,Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator,Task>
- inverseNavigation
- INavigationBase
- fixup
- Action<TIncludingEntity,TIncludedEntity>
- trackingQuery
- Boolean
Returns
- Attributes
Applies to
Entity Framework