Name | Description | |
---|---|---|
UniConnection Constructor | Overloaded. Initializes a new instance of the UniConnection class. |
The following tables list the members exposed by UniConnection.
Name | Description | |
---|---|---|
UniConnection Constructor | Overloaded. Initializes a new instance of the UniConnection class. |
Name | Description | |
---|---|---|
ConnectionString | Overridden. Gets or sets the string used to open a server connection. | |
ConnectionTimeout | Overridden. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. | |
Container | Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
Database | Gets or sets the name of the current database or the database to be used once a connection is open. | |
DataSource | Gets or sets name of the data source. | |
InDistributedTransaction | Indicates whether the connection is enlisted in a distributed transaction. (Inherited from Devart.Common.DbConnectionBase) | |
Macros | Gets collection of macros used in UniSQL statements. | |
Name | Gets or sets the name of component that will be displayed in DBMonitor application. | |
Owner | Gets or sets a form or other container that the Devart.Common.DbConnectionBase instance belongs to. (Inherited from Devart.Common.DbConnectionBase) | |
Password | Gets or sets the user's password to connect. | |
Port | Gets or sets the port to which to connect. | |
Provider | Gets or sets the name of the ADO.NET data provider used to access actual data. | |
ProviderIntf | Returns the IUniProvider interface, which allows to manipulate any provider in run time. | |
ServerVersion | Overridden. Gets a string containing the version of the instance of server to which the client is connected. | |
Site | Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
State | Gets the current state of the connection. | |
UserId | Gets or sets the name of the user to connect. |
Name | Description | |
---|---|---|
BeginOpen | Starts an asynchronous invocation of an Open method. (Inherited from Devart.Common.DbConnectionBase) | |
BeginTransaction | Overloaded. Begins a transaction at the database. | |
ChangeDatabase | Overridden. Changes the current database associated with an open UniConnection. | |
ClearAllPools | Overloaded. Clears all pools associated with the connection. | |
ClearPool | Clears the pool matching ConnectionString of provided UniConnection object. | |
Clone | Creates a new object that is a copy of the current instance. | |
Close | Overridden. Closes the connection to the database. This is the preferred method of closing any open connection. | |
Commit | Commits the database transaction. | |
CreateCommand | Creates and returns a UniCommand object associated with the UniConnection. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
EndOpen | Ends an asynchronous invocation of the Devart.Common.DbConnection.Open method. (Inherited from Devart.Common.DbConnectionBase) | |
EnlistTransaction | Overridden. Enlists in the specified transaction. | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetSchema | Overloaded. Returns list of metadata collections and number of restrictions for a collection. (Inherited from Devart.Common.DbConnectionBase) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Open | Overridden. Opens a database connection with the property settings specified by the ConnectionString. | |
Rollback | Rolls back a transaction from a pending state. | |
ToString | Returns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Disposed | Occurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component) | |
InfoMessage | Occurs when server returns a warning or informational message. | |
StateChange | Occurs when the state of the connection changes. | |
TransactionStateChanged | Occurs when the state of the transaction is changed. (Inherited from Devart.Common.DbConnectionBase) | |
TransactionStateChanging | Occurs when the state of the transaction is changing. (Inherited from Devart.Common.DbConnectionBase) |