Changes between Version 36 and Version 37 of MapGuideRfc78


Ignore:
Timestamp:
Jul 26, 2009, 8:32:28 PM (15 years ago)
Author:
klain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc78

    v36 v37  
    143143 * If passing in NULL for the parameter, !ExecuteSqlQuery and !ExecuteSqlNonQuery will work the same as before taking no transaction is started. For new version of !UpdateFeatures function, it will work the same as you pass in false for useTransaction.
    144144
     145Two additional APIs are added INTERNAL_API as to facilitate committing and rollbacking the transaction. They are not exposed with managed APIs but can only be accessed through C++. Every transaction object on the server side will have a unique identifier accordingly. The transaction id will be serialized and deserialized when passing between proxy feature service and the server-side feature service.
     146{{{
     147class MgFeatureService : public MgService
     148{
     149INTERNAL_API:
     150
     151    // Commit the transaction specified by the transaction id.
     152    virtual bool CommitTransaction(CREFSTRING transactionId) = 0;
     153
     154    // Rollback the transaction specified by the transaction id.
     155    virtual bool RollbackTransaction(CREFSTRING transactionId) = 0;
     156};
     157}}}
     158
    145159Timeout configuration for !MgTransaction
    146160