PersistenceCoreFetchPrefetchPath Method |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax public static void FetchPrefetchPath(
QueryParameters rootNodeParameters,
bool forceParameterizedPPath,
ITransaction transactionToUse,
int parameterisedPrefetchPathThreshold,
Action<QueryParameters> fetchNodeFunc,
Action<ITransaction, IPrefetchPathElementCore, QueryParameters, IEntityCollectionCore> mergeManyToManyFunc
)
Public Shared Sub FetchPrefetchPath (
rootNodeParameters As QueryParameters,
forceParameterizedPPath As Boolean,
transactionToUse As ITransaction,
parameterisedPrefetchPathThreshold As Integer,
fetchNodeFunc As Action(Of QueryParameters),
mergeManyToManyFunc As Action(Of ITransaction, IPrefetchPathElementCore, QueryParameters, IEntityCollectionCore)
)
Parameters
- rootNodeParameters
- Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The parameters. - forceParameterizedPPath
- Type: SystemBoolean
if set to true, it always will use a parameterized prefetch path, no matter what. Used for paging
scenario's - transactionToUse
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
The transaction to use. Is null in adapter scenarios - parameterisedPrefetchPathThreshold
- Type: SystemInt32
The parameterised prefetch path threshold. - fetchNodeFunc
- Type: SystemActionQueryParameters
The fetch node func, used to fetch the data for the current node. - mergeManyToManyFunc
- Type: SystemActionITransaction, IPrefetchPathElementCore, QueryParameters, IEntityCollectionCore
The merge many to many func, which is used in a m:n scenario to merge the fetched
entities into the root entities using a m:n merge which will fetch the intermediate rows to perform the merge.
Exceptions See Also