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.11.0.0 (5.11.23.1114)
Syntax bool CanLoadEntity(
IEntityCore entity
)
Function CanLoadEntity (
entity As IEntityCore
) As Boolean
Parameters
- entity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity instance to fill with data
Return Value
Type:
Booleantrue 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