EntityBasePerformMultiEntityLazyLoadingTCollection 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.6.0.0 (5.6.19.0117)
Syntax protected TCollection PerformMultiEntityLazyLoading<TCollection>(
string navigator,
bool forceFetch,
IEntityFactory factory,
Action<TCollection, RelationCollection> fetchFunc
)
where TCollection : class, IEntityCollection
Protected Function PerformMultiEntityLazyLoading(Of TCollection As {Class, IEntityCollection}) (
navigator As String,
forceFetch As Boolean,
factory As IEntityFactory,
fetchFunc As Action(Of TCollection, RelationCollection)
) As TCollection
Parameters
- navigator
- Type: SystemString
- forceFetch
- Type: SystemBoolean
- factory
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory
- fetchFunc
- Type: SystemActionTCollection, RelationCollection
The func which fetches the passed in collection
Type Parameters
- TCollection
Return Value
Type:
TCollectionSee Also