Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
protected TEntity PerformSingleEntityLazyLoading<TEntity>(
	string navigator,
	bool forceFetch,
	bool returnNewIfNotFound,
	Func<TEntity> fetchFunc
)
where TEntity : EntityBase

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: TEntity
See Also