C++ C#

DataStoreObject Class

API Reference

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.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.