Click or drag to resize

PersistenceCoreFetchPrefetchPathAsync Method

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public static Task FetchPrefetchPathAsync(
	QueryParameters rootNodeParameters,
	bool forceParameterizedPPath,
	ITransaction transactionToUse,
	int parameterisedPrefetchPathThreshold,
	Func<QueryParameters, Task> fetchNodeFunc,
	Func<ITransaction, IPrefetchPathElementCore, QueryParameters, IEntityCollectionCore, Task> mergeManyToManyFunc
)

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: SystemFuncQueryParameters, Task
The fetch node func, used to fetch the data for the current node.
mergeManyToManyFunc
Type: SystemFuncITransaction, IPrefetchPathElementCore, QueryParameters, IEntityCollectionCore, Task
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.

Return Value

Type: Task
Exceptions
ExceptionCondition
ArgumentNullExceptionparameters
InvalidOperationExceptionBUG in call chain: QueryParameters passed in isn't a clone, while it's ordered to be altered.
ApplicationException
See Also