Struct EsentLazyDBTransaction
Used for wrapping a Database Lazy Transaction, if commit is not called the Dispose function rolls back the transaction
Implements
System.IDisposable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Xbim.IO.Esent
Assembly: Xbim.IO.Esent.dll
Syntax
public struct EsentLazyDBTransaction : IDisposable
Constructors
| Improve this Doc View SourceEsentLazyDBTransaction(JET_SESID)
Initializes a new instance of the EsentLazyDBTransaction struct.
Declaration
public EsentLazyDBTransaction(JET_SESID sesid)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Isam.Esent.Interop.JET_SESID | sesid | The sesid. |
Methods
| Improve this Doc View SourceBegin()
Declaration
public void Begin()
Commit()
Commit the transaction.
Declaration
public void Commit()
Dispose()
Rollback the transaction if not already committed.
Declaration
public void Dispose()
RollBack()
Commit the transaction.
Declaration
public void RollBack()
Implements
System.IDisposable