Click or drag to resize

EntityBase.PerformSingleEntityLazyLoading<TEntity> Method (String, Boolean, Boolean, Func<TEntity>)

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

Parameters

navigator
Type: System.String
forceFetch
Type: System.Boolean
returnNewIfNotFound
Type: System.Boolean
fetchFunc
Type: System.Func<TEntity>
function which returns a fetched new entity instance

Type Parameters

TEntity

Return Value

Type: TEntity
See Also