[mapguide-users] Usage for MgTransaction class
jumpinjackie at gmail.com
Mon Jul 21 08:27:43 PDT 2014
MgTransaction lets you perform multiple UpdateFeatures() and/or
ExecuteSqlNonQuery() operations against a single feature source in a single
atomic unit such that all the operations will either succeed or fail wholly.
If any exception occurs while you do these multiple calls under the same
transaction, you can rollback the MgTransaction to ensure that no partial
updates are done to your Feature Source.
You can see an example code usage in the RFC that introduced it:
You can only use MgTransaction on Feature Sources whose FDO provider
View this message in context: http://osgeo-org.1560.x6.nabble.com/Usage-for-MgTransaction-class-tp5152166p5152186.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users