Transaction members
Include protected members
Include inherited members
A class that encapsulates a transaction on a JET_SESID.
The Transaction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Transaction | Initializes a new instance of the Transaction class. This automatically begins a transaction. The transaction will be rolled back if not explicitly committed. |
Top
Properties
Name | Description | |
---|---|---|
HasResource | Gets a value indicating whether the underlying resource is currently allocated. (Inherited from EsentResource.) | |
IsInTransaction | Gets a value indicating whether this object is currently in a transaction. |
Top
Methods
Name | Description | |
---|---|---|
Begin | Begin a transaction. This object should not currently be in a transaction. | |
CheckObjectIsNotDisposed | Throw an exception if this object has been disposed. (Inherited from EsentResource.) | |
Commit(CommitTransactionGrbit) | Commit a transaction. This object should be in a transaction. | |
Commit(CommitTransactionGrbit, TimeSpan, JET_COMMIT_ID) | Commit a transaction. This object should be in a transaction. | |
Dispose() | Dispose of this object, releasing the underlying Esent resource. (Inherited from EsentResource.) | |
Dispose(Boolean) | Called by Dispose and the finalizer. (Inherited from EsentResource.) | |
Equals | (Inherited from Object.) | |
Finalize | Finalizes an instance of the EsentResource class. (Inherited from EsentResource.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ReleaseResource | Called when the transaction is being disposed while active. This should rollback the transaction. (Overrides EsentResource.ReleaseResource().) | |
ResourceWasAllocated | Called by a subclass when a resource is allocated. (Inherited from EsentResource.) | |
ResourceWasReleased | Called by a subclass when a resource is freed. (Inherited from EsentResource.) | |
Rollback | Rollback a transaction. This object should be in a transaction. | |
ToString | Returns a String that represents the current Transaction. (Overrides Object.ToString().) |
Top
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for