Dil

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateCollection<TCollection,TElement,TRelatedEntity> 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 void PopulateCollection<TCollection,TElement,TRelatedEntity>(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,TRelatedEntity> innerShaper) where TCollection : class, System.Collections.Generic.ICollection<TElement> where TRelatedEntity : TElement;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member PopulateCollection : 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, #'Element> -> unit (requires 'Collection : null and 'Collection :> System.Collections.Generic.ICollection<'Element>)
Public Shared Sub PopulateCollection(Of TCollection As {Class, ICollection(Of TElement)}, TElement As {Class, ICollection(Of TElement)}, TRelatedEntity As {Class, ICollection(Of TElement)}) (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, TRelatedEntity))

Tür Parametreleri

TCollection
TElement
TRelatedEntity

Parametreler

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,TRelatedEntity>
Özellikler

Şunlara uygulanır