Search Results for

    Show / Hide Table of Contents

    Class XbimReadWriteTransaction

    A transaction allowing read and write operations on a model

    Inheritance
    System.Object
    XbimReadTransaction
    XbimReadWriteTransaction
    Implements
    ITransaction
    System.IDisposable
    Inherited Members
    XbimReadTransaction.InTransaction
    XbimReadTransaction.Model
    XbimReadTransaction.Dispose()
    XbimReadTransaction.EntityChanged
    XbimReadTransaction.EntityChanging
    XbimReadTransaction.OnEntityChanged(IPersistEntity, ChangeType, Int32)
    XbimReadTransaction.OnEntityChanging(IPersistEntity, ChangeType, Int32)
    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 XbimReadWriteTransaction : XbimReadTransaction, ITransaction, IDisposable

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public string Name { get; protected set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TransactionBatchSize

    The maximum number of pulse actions before a transaction is automatically commited, default is 100

    Declaration
    public int TransactionBatchSize { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Begin()

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

    Commit()

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

    Dispose(Boolean)

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

    Modified()

    Declaration
    public IEnumerable<IInstantiableEntity> Modified()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IInstantiableEntity>
    | Improve this Doc View Source

    Pulse()

    Increments the pulse count for the transaction, if the pulse count exceed the Transaction batch size the transaction is committed and restarted

    Declaration
    public int Pulse()
    Returns
    Type Description
    System.Int32

    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