SqlTransaction Methods
.NET Framework 4
The SqlTransaction type exposes the following members.
| Name | Description | |
|---|---|---|
|
Commit | Commits the database transaction. (Overrides DbTransaction.Commit().) |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Dispose() | Releases the unmanaged resources used by the DbTransaction. (Inherited from DbTransaction.) |
|
Dispose(Boolean) | Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources. (Inherited from DbTransaction.) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (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.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
Rollback() | Rolls back a transaction from a pending state. (Overrides DbTransaction.Rollback().) |
|
Rollback(String) | Rolls back a transaction from a pending state, and specifies the transaction or savepoint name. |
|
Save | Creates a savepoint in the transaction that can be used to roll back a part of the transaction, and specifies the savepoint name. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |