Search Results for

    Show / Hide Table of Contents

    Class PlaceboTransaction

    A class of transaction that has no impact and does nothing used when another transaction is normally running

    Inheritance
    System.Object
    PlaceboTransaction
    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.Common
    Assembly: Xbim.Common.dll
    Syntax
    public class PlaceboTransaction : ITransaction, IDisposable

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Commit()

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

    Dispose()

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

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

    Declaration
    public void 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

    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
    | Improve this Doc View Source

    RollBack()

    Declaration
    public void RollBack()

    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

    Implements

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