Class TransactionLog
Inheritance
System.Object
TransactionLog
Implements
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.Delta
Assembly: Xbim.Common.dll
Syntax
public class TransactionLog : IDisposable
Constructors
| Improve this Doc View SourceTransactionLog(ITransaction)
Transaction log which listens to all changes within a transaction. Thic constructor should always be used in 'using' statement so it releases reference to transaction.
Declaration
public TransactionLog(ITransaction transaction)
Parameters
| Type | Name | Description |
|---|---|---|
| ITransaction | transaction | Transaction to be used as a scope of this log |
Properties
| Improve this Doc View SourceChanges
All new, changed or deleted entities except for these which were created and deleted in transaction
Declaration
public IEnumerable<EntityChange> Changes { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<EntityChange> |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Implements
System.IDisposable