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.2.0.0 (5.2.17.0403)
Syntax protected bool CheckIfLazyLoadingShouldOccur(
IEntityRelation relation
)
Protected Function CheckIfLazyLoadingShouldOccur (
relation As IEntityRelation
) As Boolean
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