The following tables list the members exposed by TADConnection.
|
Event |
Description |
|
Fires after transaction is committed. | |
|
Fires after transaction is rolled back. | |
|
Fires after transaction is started. | |
|
Fires before transaction will be committed. | |
|
Fires before transaction will be rolled back. | |
|
Fires before transaction will be started. | |
|
Fires before AnyDAC will raise exception. | |
|
Fires when an application connects to a DBMS. | |
|
Fires after AnyDAC was not able to restore losted connection to DBMS. | |
|
Fires after AnyDAC discovered that connection to DBMS is losted. | |
|
Fires after AnyDAC successfully restored losted connection to DBMS. |
|
Method |
Description |
|
Use the AbortJob method to abort all running dataset operations on this connection. | |
|
Applies change logs of specified datasets to the DBMS. | |
|
Checks to see if the connection is active. | |
|
Checks that connection definition is filled correctly. | |
|
Checks to see if the connection is inactive. | |
|
Checks to see if the connection is in online mode. | |
|
Permanently stores modifications to the data made in the current transaction, and optionally ends the current transactions. | |
|
Permanently stores modifications to the data made in the current transaction, without ending the current transaction. | |
|
Splits DB object name into parts. | |
|
Assembles DB object name from it parts. | |
|
Executes a SQL command without parameters. | |
|
Executes SQL command with parameters. | |
|
Executes a SQL command with parameters. | |
|
Executes a SQL command without parameters and fetches a single value. | |
|
Executes a SQL command with parameters and fetches a single value. | |
|
Executes a SQL command with parameters and fetches a single value. | |
|
Populates a string list with the names of catalogs in a DB. | |
|
Populates a string list with the names of fields in a table. | |
|
Populates a string list with the names of generators / sequences / <how else> in a database. | |
|
Populates a string list with a detailed report about a connection state. | |
|
Populates a string list with the names of key fields in a table. | |
|
Returns last auto generated value. | |
|
Populates a string list with the names of the packages in a DB. | |
|
Populates a string list with the names of schemas in a DB. | |
|
Populates a string list with the names of stored procedures in a DB. | |
|
Populates a string list with the names of tables in a DB. | |
|
Sets connection to offline mode. | |
|
Sets connection to online mode. | |
|
Open connection to the database, using specified connection string. | |
|
Open connection to the database, using specified user name and password. | |
|
Open connection to the database, using specified connection parameters, user name and password. | |
|
Pings the DBMS server. | |
|
Invalidates meta data cache. | |
|
Performs resource releasing operation on all associated datasets and commands. | |
|
Cancels all modifications to the data made in the current transaction and optionally ends transaction. | |
|
Cancels all modifications to the data made in the current transaction, without ending the current transaction. | |
|
Starts new transaction at database. |
|
Property |
Description |
|
CLI handle for connection sharing. | |
|
Returns a CLI connection wrapping object. | |
|
The number of assocciated TADCustomCommand objects. | |
|
Returns assocciated TADCustomCommand objects. | |
|
Gets / sets connection active status. | |
|
Controls how to use Connected property value saved to DFM. | |
|
The name of connection definition to use. | |
|
Returns the IADPhysConnection interface. | |
|
Returns an IADPhysConnectionMetadata interface. | |
|
Specifies the name of the connection to associate with this connection object. | |
|
Returns assocciated TADDataSet objects. | |
|
Specifies the ID of the AnyDAC driver for the connection. | |
|
The set of default options to control rows fetching. | |
|
The set of default options to control data representation. | |
|
Indicates whether a connection transaction is in progress or not. | |
|
Property returns True, if a data source supports SQL language. | |
|
The date and time of last usage of the connection. | |
|
Gets / sets the reference to login dialog interface. | |
|
Specifies whether a login dialog appears immediately before opening a new connection. | |
|
Returns a list of messages returned by DBMS after recent database operation. | |
|
Gets / sets connection offline status. | |
|
The reference to IADStanOptions interface. | |
|
Lists database connection parameters for the AnyDAC connection definition associated with the connection object. | |
|
Returns the brand of DBMS currently connected. | |
|
Returns the number of references to this connection object. | |
|
The set of default options to control resources usage. | |
|
The actual connection definition used to establish connection to a DBMS. | |
|
CLI handle shared with other connection. | |
|
Shows whether a connection object is created on fly (temporary one) and managed automatically or a persistent one explicitly created, managed, and freed by the application. | |
|
The reference to TADCustomTransaction object. | |
|
The set of options to control transactions. | |
|
The set of default options to control data updating. | |
|
The reference to TADCustomTransaction object, which will be used to post changes to DB. |
|
What do you think about this topic? Send feedback!
|