TAuthorizingSqlDatabase
Adds authorization capabilities to a
TSqlDatabase
.Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TSqlStatementExecutor | Abstract base class for a facility that executes a TSqlStatement |
3 | TSqlDatabase | Abstract base class for connections to databases that can be queried using SQL statements. |
4 | TLogicalSqlDatabase |
Abstract base class for TSqlDatabase implementations that manipulate or translate queries before they sent to an
actual physical TSqlDatabase .
|
5 | TAuthorizingSqlDatabase |
Source
Sql.Database.Logical.Authorizing.pas (34)
Description
TAuthorizingSqlDatabase
can be used to add authorization capabilities to an other database.
Its implementation adds the proper restrictions to queries in order to enforce the authorization rules as dictated
by the provided TAuthorizer
.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | protected | TAuthorizer | Authorizer |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | protected | TSqlResult | HandleDecoratedStatement(Statement: TSqlStatement; ResultMethod: TSqlQueryResultMethod) | |
Instance | public | Create(Database: TSqlDatabase; Authorizer: TAuthorizer) | ||
Instance | public | TSqlResult | Query(Statement: TSqlStatement; ResultMethod: TSqlQueryResultMethod) |