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: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc78 You can only use MgTransaction on Feature Sources whose FDO provider supports transactions. - Jackie -- 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. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
