Click or drag to resize

IAuthorizer Interface

Interface for the authorizer to be used with entity instances at runtime. Authorizers authorize at runtime field get/set actions as well as save/load/delete actions on 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
public interface IAuthorizer

The IAuthorizer type exposes the following members.

Methods
  NameDescription
Public methodCanBatchDeleteEntitiesDirectly
Determines whether the caller is allowed to delete entities directly in the database.
Public methodCanBatchUpdateEntitiesDirectly
Determines whether the caller is allowed to update entities directly in the database.
Public methodCanDeleteEntity
Determines whether the caller is allowed to delete of the entity type passed in
Public methodCanGetFieldValue
Determines whether the caller can obtain the value for the field with the index specified from the entity type specified.
Public methodCanLoadEntity
Determines whether the caller is allowed to load the data into the entity instance specified.
Public methodCanSaveExistingEntity
Determines whether the caller is allowed to save the modified existing instance passed in.
Public methodCanSaveNewEntity
Determines whether the caller is allowed to save the new instance passed in.
Public methodCanSetFieldValue
Determines whether the caller can set the value for the field with the index specified of the entity type specified.
Public methodGetFetchNewAuthorizationFailureResultHint
Gets the result hint what to do when authorization fails when fetch a new entity.
Top
See Also