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.4.0.0 (5.4.0)
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