Dil

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.InitializeSplitCollection<TElement,TCollection> Yöntem

Tanım

Bu, Entity Framework Core altyapısını destekleyen ve genel API'ler ile aynı uyumluluk standartlarına tabi olmayan bir iç API'dir. Herhangi bir sürümde bildirimde bulunmaksızın değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunuzda son derece dikkatli bir şekilde kullanmanız ve bunu yapmanın yeni bir Entity Framework Core sürümüne güncelleştirme sırasında uygulama hatalarına neden olabileceğini bilmeniz gerekir.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static TCollection InitializeSplitCollection<TElement,TCollection>(int collectionId, Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, System.Data.Common.DbDataReader parentDataReader, Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator resultCoordinator, Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Data.Common.DbDataReader,object[]> parentIdentifier, Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor? clrCollectionAccessor) where TCollection : class, System.Collections.Generic.ICollection<TElement>;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member InitializeSplitCollection : int * Microsoft.EntityFrameworkCore.Query.QueryContext * System.Data.Common.DbDataReader * Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor -> 'Collection (requires 'Collection : null and 'Collection :> System.Collections.Generic.ICollection<'Element>)
Public Shared Function InitializeSplitCollection(Of TElement, TCollection) (collectionId As Integer, queryContext As QueryContext, parentDataReader As DbDataReader, resultCoordinator As SplitQueryResultCoordinator, parentIdentifier As Func(Of QueryContext, DbDataReader, Object()), clrCollectionAccessor As IClrCollectionAccessor) As TCollection

Tür Parametreleri

TElement
TCollection

Parametreler

collectionId
Int32
queryContext
QueryContext
parentDataReader
DbDataReader
resultCoordinator
Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryResultCoordinator
parentIdentifier
Func<QueryContext,DbDataReader,Object[]>
clrCollectionAccessor
IClrCollectionAccessor

Döndürülenler

TCollection
Özellikler

Şunlara uygulanır