Search Results for

    Show / Hide Table of Contents

    Class XbimReadTransaction

    A transaction allowing read only operations on a model

    Inheritance
    System.Object
    XbimReadTransaction
    XbimReadWriteTransaction
    Implements
    ITransaction
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.IO.Esent
    Assembly: Xbim.IO.Esent.dll
    Syntax
    public class XbimReadTransaction : ITransaction, IDisposable

    Constructors

    | Improve this Doc View Source

    XbimReadTransaction()

    Declaration
    protected XbimReadTransaction()

    Fields

    | Improve this Doc View Source

    InTransaction

    True if we are in a transaction.

    Declaration
    protected bool InTransaction
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Model

    Declaration
    protected EsentModel Model
    Field Value
    Type Description
    EsentModel

    Methods

    | Improve this Doc View Source

    Dispose()

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

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    OnEntityChanged(IPersistEntity, ChangeType, Int32)

    Declaration
    protected virtual void OnEntityChanged(IPersistEntity entity, ChangeType change, int property)
    Parameters
    Type Name Description
    IPersistEntity entity
    ChangeType change
    System.Int32 property
    | Improve this Doc View Source

    OnEntityChanging(IPersistEntity, ChangeType, Int32)

    Declaration
    protected virtual void OnEntityChanging(IPersistEntity entity, ChangeType change, int property)
    Parameters
    Type Name Description
    IPersistEntity entity
    ChangeType change
    System.Int32 property

    Events

    | Improve this Doc View Source

    EntityChanged

    Declaration
    public event EntityChangedHandler EntityChanged
    Event Type
    Type Description
    EntityChangedHandler
    | Improve this Doc View Source

    EntityChanging

    Declaration
    public event EntityChangingHandler EntityChanging
    Event Type
    Type Description
    EntityChangingHandler

    Explicit Interface Implementations

    | Improve this Doc View Source

    ITransaction.Commit()

    Declaration
    void ITransaction.Commit()
    | Improve this Doc View Source

    ITransaction.DoReversibleAction(Action, Action, IPersistEntity, ChangeType, Int32)

    Declaration
    void ITransaction.DoReversibleAction(Action doAction, Action undoAction, IPersistEntity entity, ChangeType changeType, int property)
    Parameters
    Type Name Description
    System.Action doAction
    System.Action undoAction
    IPersistEntity entity
    ChangeType changeType
    System.Int32 property
    | Improve this Doc View Source

    ITransaction.Name

    Declaration
    string ITransaction.Name { get; }
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ITransaction.RollBack()

    Declaration
    void ITransaction.RollBack()

    Implements

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