IDalConnection

Assembly: Dal;

Namespace: Prognoz.Platform.Interop.Dal;

Description

The IDalConnection interface contains properties and methods that are used to control the current database connection.

Properties

  Property name Brief description
The Columns property returns the cursor that contains system information about table fields.
The Descriptor property returns description of the database connection.
The Indexes property returns the cursor containing system information about specified table indexes.
The IsDisconnected property returns whether there is no connection with database.
The Procedures property returns the cursor containing system information about the specified procedure.
The Tables property returns the cursor containing system information about the specified table.
The Triggers property returns the cursor containing system information about the specified table triggers.
The Views property returns the cursor containing system information about the specified view.

Methods

  Method name Brief description
The Close method closes database connection.
The Commit method saves made changes within this transaction.
The CreateCommand method creates a command that uses the SQL query to work with the database.
The InTransaction method returns True if the transaction with the database was initialized.
The Open method opens database connection.
The Rollback method cancels the changes made within this transaction.
The StartTransaction method initializes transaction with the database.

See also:

Dal Assembly Interfaces