Click or drag to resize

EntityBase.PerformMultiEntityLazyLoading<TCollection> Method

Performs a 1:n lazy loading fetch for the navigator specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntax
protected TCollection PerformMultiEntityLazyLoading<TCollection>(
	string navigator,
	bool forceFetch,
	IEntityFactory factory,
	Action<TCollection, RelationCollection> fetchFunc
)
where TCollection : class, IEntityCollection

Parameters

navigator
Type: System.String
forceFetch
Type: System.Boolean
factory
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactory
fetchFunc
Type: System.Action<TCollection, RelationCollection>
The func which fetches the passed in collection

Type Parameters

TCollection

Return Value

Type: TCollection
See Also