Click or drag to resize

EntityBaseCheckIfLazyLoadingShouldOccur Method

Checks if lazy loading should occur for the relation passed in and the FK fields in this entity for the relation Routine is used by GetSingle... lazy loaders in selfservicing entities.

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 bool CheckIfLazyLoadingShouldOccur(
	IEntityRelation relation
)

Parameters

relation
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The relation. Is 1:1 or m:1 relation

Return Value

Type: Boolean
If lazy loading should take place, true is returned, otherwise false. True is returned if the fk fields aren't null.
See Also