Immediate (non-transactional) operations - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

The transaction is a powerful feature, and no doubt will be useful. However, for single operations, you can commit the changes without the overhead of the transaction. (Not that it is much overhead.) IObject exposes the Commit method, which you can call after a create or an update. SPF will work out what changes need to be written to the database. Also, IObject exposes Terminate and Delete methods that immediately write the changes to the server.