MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgTransaction Class Reference

MgTransaction represents a transaction to be performed in a DataStore. If the transaction is time out, commit or rollback a transaction will result in one exception MgFeatureServiceException thrown. More...

+ Inheritance diagram for MgTransaction:

List of all members.

Public Member Functions

virtual STRING AddSavePoint (CREFSTRING suggestName)=0
 Create a save point in this transaction.
virtual void Commit ()=0
 Commit the transaction.
virtual MgResourceIdentifierGetFeatureSource ()=0
 Get the identifier of feature source associated with the transaction.
virtual void ReleaseSavePoint (CREFSTRING savePointName)=0
 Release a specific save point.
virtual void Rollback ()=0
 Rollback the transaction.
virtual void Rollback (CREFSTRING savePointName)=0
 Rollback the transaction to a specified save point.

Detailed Description

MgTransaction represents a transaction to be performed in a DataStore. If the transaction is time out, commit or rollback a transaction will result in one exception MgFeatureServiceException thrown.

Since:
2.2