IManagementDatabase Interface
Name | Description | |
---|---|---|
CustomTables | Gets all custom tables in this database. | |
Database | Gets the name of the current database. | |
DbConnection | Gets the direct access to the database connection. | |
EstimateTable | Gets the main estimate table. | |
Path | Gets the path of the current database. |
Name | Description | |
---|---|---|
Refresh() | Refreshes all properties with the values from the underlying DB. | |
RunQdvMacro(string, ref MacroExecutionError, IManagementDbCallingContext) | Runs a macro in the management DB. | |
Save() | Saves all modified estimates or rows in all tables into the database. | |
SetMacroButton(int, int, string, string, string, int) | Adds / Defines a macro button and places it in the Automation menu. |
A management database consists of several tables (they are represented as tabs in the Management module
application). The tables are represented by instances of IManagementDatabaseTable subtypes,
i.e. IManagementDatabaseEstimateTable or IManagementDatabaseCustomTable.
A management database contains exactly one estimate table and zero or more custom tables.
Only one main table is mandatory, it's called Estimate by default.
It cannot be deleted, but it can be renamed. All other tables are optional.
Available since QDV 7.14.520.