Click or drag to resize

AuthorizerBaseCanLoadEntity 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
public virtual 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.

Implements

IAuthorizerCanLoadEntity(IEntityCore)
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