Click or drag to resize

IAuthorizerCanLoadEntity Method

Determines whether the caller is allowed to load the data into the entity instance specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
bool CanLoadEntity(
	IEntityCore entity
)

Parameters

entity
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity instance to fill with data

Return Value

Type: Boolean
true if the caller is allowed to load the data in the entity specified.
Remarks
Data inside the entity is the data fetched from the db. If the method returns false, the entity will be reset with a new set of empty fields
See Also