Namespace: Semata.DataStore.ObjectModel
A wrapper for the DataStore itself. Allows DataStores to be opened and closed. Transactions to be started and committed/discarded
public abstract class DataStoreObject : INotifyPropertyChangedAndWritten
Implements: INotifyPropertyChangedAndWritten
Constructors
| Name | Description |
| DataStoreObject(PropertyChangedEventDispatcher) |
DataStoreObject constructor |
Events
| Name | Description |
| CommitComplete |
Raised whenever an Transaction Commit completes |
| CommitStarted |
Raised whenever an Transaction Commit starts |
| PropertyChanged |
Raised whenever an ItemObject is created, or deleted |
| PropertyClassChanged |
Raised whenever a property of an ItemObject is changed. It will only be raised once per transaction for a particular ItemType, PropertyName pair. Hence if many ItemObjects have a the same property changed during a transaction, this will only be raised once. |
| PropertyWritten |
Raised whenever an ItemObject is created, or deleted. But only at the end of a transaction. |
Methods
| Name | Description |
| StartTransaction() |
Starts a Transaction. |