C++ C#

Transaction Class

API Reference

Namespace: Semata.DataStore.ObjectModel

Represents a transaction. DataStore transactions are single level. However these can be nested, but only the outer one actually starts and ends transactions. This can be useful in routines that can be stand alone, or used as part of a larger transaction

public ref class Transaction : public IDisposable

Implements: IDisposable

Properties

Name Description
IsDiscarded

return true id the transaction has been discarded

Methods

Name Description
Commit()

Commit the transaction.

Discard()

Discard the transaction.

Dispose()

Implementation of IDisposable

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.