Class XbimReadTransaction
A transaction allowing read only operations on a model
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 SourceXbimReadTransaction()
Declaration
protected XbimReadTransaction()
Fields
| Improve this Doc View SourceInTransaction
True if we are in a transaction.
Declaration
protected bool InTransaction
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Model
Declaration
protected EsentModel Model
Field Value
| Type | Description |
|---|---|
| EsentModel |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
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 |
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 |
Explicit Interface Implementations
| Improve this Doc View SourceITransaction.Commit()
Declaration
void ITransaction.Commit()
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 |
ITransaction.Name
Declaration
string ITransaction.Name { get; }
Returns
| Type | Description |
|---|---|
| System.String |
ITransaction.RollBack()
Declaration
void ITransaction.RollBack()
Implements
System.IDisposable