DbConnection Methods |
The DbConnection type exposes the following members.
Name | Description | |
---|---|---|
CreateCommand | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IDbConnectionBeginTransaction | Begins a database transaction. | |
IDbConnectionBeginTransaction(IsolationLevel) | Begins a database transaction with the specified IsolationLevel value. | |
IDbConnectionChangeDatabase | Changes the current database for an open Connection object. | |
IDbConnectionClose | Closes the connection to the database. | |
IDbConnectionCreateCommand | Creates and returns a Command object associated with the connection. | |
IDisposableDispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
IDbConnectionOpen | Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object. |