Class PlaceboTransaction
A class of transaction that has no impact and does nothing used when another transaction is normally running
Inheritance
System.Object
PlaceboTransaction
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 SourceName
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceCommit()
Declaration
public void Commit()
Dispose()
Declaration
public void Dispose()
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 |
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 |
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 |
RollBack()
Declaration
public void RollBack()
Events
| Improve this Doc View SourceEntityChanged
Declaration
public event EntityChangedHandler EntityChanged
Event Type
| Type | Description |
|---|---|
| EntityChangedHandler |
EntityChanging
Declaration
public event EntityChangingHandler EntityChanging
Event Type
| Type | Description |
|---|---|
| EntityChangingHandler |
Implements
System.IDisposable