Assembly: Db;
Namespace: Prognoz.Platform.Interop.Db;
The IDatabase interface contains properties and methods of the Database repository object.
IDatabase
When a new database is created, to ensure its correct work, determine a specific minimum set of properties in the settings. The UseMetabaseLogonData property is by default set to False; set the following for the database:
Authentication - if required, change authentication method.
If the UseMetabaseLogonData property is set to True, the settings determined on repository connection will be used.
Property name | Brief description | |
The Authentication property determines a type of authentication on connecting to database. | ||
The AutoAdjustRights property determines whether the permissions to all accessible objects are granted on connecting to the database. | ||
The Credentials property returns user credentials used at automatic connection to a database. | ||
The DriverId property determines the identifier of a database driver. | ||
The GrantCurrentRights property determines whether the permissions are granted to a database user in the new scheme, at change of the scheme name or of the server in DB properties. | ||
The LoginPrompt property determines whether automatic connection to database is executed on logging in to the repository. | ||
The LogonData property returns additional parameters of the security module. | ||
The property is under development. | ||
The RevokeGrantedRights property determines whether the permissions of database user are revoked in the old scheme, at changing the name of the scheme or of the server in properties of DB. | ||
The Role property determines settings of using the application role. | ||
The SecurityPackage property determines identifier of database security package. | ||
The SupportBinaryProtocol property determines whether binary queries will be used to work with PostgreSQL server. | ||
The SupportDecimal property determines whether it is possible to work with real fields as with decimal data type fields. | ||
The Unicode property determines whether string fields of database tables are created with the NVARCHAR type. | ||
The UseMetabaseCredentials property determines whether the credentials, specified on logging in to the system, are used for database connection. | ||
The UseMetabaseLogonData property determines whether database connection settings are redetermined. | ||
The UseServiceLogonData property determines whether connection settings for Foresight Analytics Platform Web service will be overridden. |
See also: