RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.InitializeIncludeCollection<TParent,TNavigationEntity> 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 void InitializeIncludeCollection<TParent,TNavigationEntity> (int collectionId, Microsoft.EntityFrameworkCore.Query.QueryContext queryContext, System.Data.Common.DbDataReader dbDataReader, Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator resultCoordinator, TParent entity, 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.INavigationBase navigation, Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor? clrCollectionAccessor, bool trackingQuery, bool setLoaded) where TParent : class where TNavigationEntity : class, TParent;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member InitializeIncludeCollection : int * Microsoft.EntityFrameworkCore.Query.QueryContext * System.Data.Common.DbDataReader * Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator * 'Parent * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Data.Common.DbDataReader, obj[]> * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor * bool * bool -> unit (requires 'Parent : null)
Public Shared Sub InitializeIncludeCollection(Of TParent As Class, TNavigationEntity As Class) (collectionId As Integer, queryContext As QueryContext, dbDataReader As DbDataReader, resultCoordinator As SingleQueryResultCoordinator, entity As TParent, parentIdentifier As Func(Of QueryContext, DbDataReader, Object()), outerIdentifier As Func(Of QueryContext, DbDataReader, Object()), navigation As INavigationBase, clrCollectionAccessor As IClrCollectionAccessor, trackingQuery As Boolean, setLoaded As Boolean)
Type Parameters
- TParent
- TNavigationEntity
Parameters
- collectionId
- Int32
- queryContext
- QueryContext
- dbDataReader
- DbDataReader
- resultCoordinator
- Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryResultCoordinator
- entity
- TParent
- parentIdentifier
- Func<QueryContext,DbDataReader,Object[]>
- outerIdentifier
- Func<QueryContext,DbDataReader,Object[]>
- navigation
- INavigationBase
- clrCollectionAccessor
- IClrCollectionAccessor
- trackingQuery
- Boolean
- setLoaded
- Boolean
- Attributes
Applies to
Entity Framework