EntityBasePerformSingleEntityLazyLoadingTEntity Method (String, Boolean, Boolean, FuncTEntity, Boolean) |
Performs a single entity lazy loading action. Non-inheritance variant
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax protected TEntity PerformSingleEntityLazyLoading<TEntity>(
string navigator,
bool forceFetch,
bool returnNewIfNotFound,
Func<TEntity, bool> fetchFunc
)
where TEntity : EntityBase
Protected Function PerformSingleEntityLazyLoading(Of TEntity As EntityBase) (
navigator As String,
forceFetch As Boolean,
returnNewIfNotFound As Boolean,
fetchFunc As Func(Of TEntity, Boolean)
) As TEntity
Parameters
- navigator
- Type: SystemString
- forceFetch
- Type: SystemBoolean
- returnNewIfNotFound
- Type: SystemBoolean
- fetchFunc
- Type: SystemFuncTEntity, Boolean
fetches the passed in entity
Type Parameters
- TEntity
Return Value
Type:
TEntitySee Also