9. Understanding .NET Data Provider Connectivity : .NET Data Provider Classes : IngresConnection Class : IngresConnection Class Public Methods
 
Share this page                  
IngresConnection Class Public Methods
The public methods for the IngresConnection class are:
Method
Description
BeginTransaction
Begins a local transaction. The connection must be open before this method can be called. Nested or parallel transactions are not supported. Mutually exclusive with the EnlistDistributedTransaction method.
ChangeDatabase
Changes the database to be used for the connection. The connection must be closed before this method can be called.
Close
Closes the connection (rollback pending transaction) and returns the connection to the connection pool.
CreateCommand
Creates an IngresCommand object.
Dispose
Closes the connection and releases allocated resources.
EnlistDistributedTransaction
Enlists in an existing distributed transaction (ITransaction). Mutually exclusive with the BeginTransaction method.
EnlistTransaction
Enlists in an existing distributed transaction (System.Transactions.Transaction). Mutually exclusive with the BeginTransaction method.
GetSchema
Returns schema metadata from the Ingres catalog for the specified collection name. Valid collection names include:
MetaDataCollections
DataSourceInformation
DataTypes
Restrictions
ReservedWords
Tables
Views
Columns
Indexes
Procedures
ProcedureParameters
Open
Opens a database connection or uses one from the connection pool.