Search Results for

    Show / Hide Table of Contents

    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 Source

    EsentLazyDBTransaction(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 Source

    Begin()

    Declaration
    public void Begin()
    | Improve this Doc View Source

    Commit()

    Commit the transaction.

    Declaration
    public void Commit()
    | Improve this Doc View Source

    Dispose()

    Rollback the transaction if not already committed.

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    RollBack()

    Commit the transaction.

    Declaration
    public void RollBack()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim