Changes between Version 9 and Version 10 of MapGuideRfc78
- Timestamp:
- 07/09/09 23:16:30 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc78
v9 v10 29 29 30 30 Currently MapGuide Feature Service supports executing a sequence of standard commands within a single transaction through the API illustrated below. The standard commands are delete/update/insert. If you pass in true for useTransaction, the API will start a transaction and commit(or rollback) it at the end. Thus all command execution will reside inside a single transaction. 31 31 {{{ 32 32 virtual MgPropertyCollection* UpdateFeatures( MgResourceIdentifier* resource, 33 33 MgFeatureCommandCollection* commands, 34 34 bool useTransaction ) = 0; 35 35 }}} 36 36 However, MapGuide Feature Service also provides another two APIs to execute sql statements as illustrated below, where a database transaction will internally be started and committed befor and after the sql statement execution. Here the capability of executing a sequence of sql statements within a single transaction is missing. 37 37