Language

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.InitializeCollection<TElement,TCollection> メソッド

定義

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static TCollection InitializeCollection<TElement,TCollection>(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, Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor? clrCollectionAccessor) where TCollection : class, System.Collections.Generic.ICollection<TElement>;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member InitializeCollection : 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[]> * Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor -> 'Collection (requires 'Collection : null and 'Collection :> System.Collections.Generic.ICollection<'Element>)
Public Shared Function InitializeCollection(Of TElement, TCollection) (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()), clrCollectionAccessor As IClrCollectionAccessor) As TCollection

型パラメーター

TElement
TCollection

パラメーター

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

戻り値

TCollection
属性

適用対象