EntityBasePerformSingleEntityLazyLoadingTEntity Method (String, Boolean, Boolean, FuncTEntity) |
Performs a single-entity lazy loading action. Inheritance variant
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected TEntity PerformSingleEntityLazyLoading<TEntity>(
string navigator,
bool forceFetch,
bool returnNewIfNotFound,
Func<TEntity> 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)
) As TEntity
Parameters
- navigator
- Type: SystemString
- forceFetch
- Type: SystemBoolean
- returnNewIfNotFound
- Type: SystemBoolean
- fetchFunc
- Type: SystemFuncTEntity
function which returns a fetched new entity instance
Type Parameters
- TEntity
Return Value
Type:
TEntitySee Also