Transactions
You do not need to wrap saves on a single collection in a transaction. EntitySpaces
does this for you, even if you have multiple inserts, updates, and deletes. Use
transactions if you are saving two or more objects that need to rollback as a set
in the event of a failure. EntitySpaces has two transaction models. esTransactionScope
works with all supported databases. Set
providerClass="DataProvider" in your app.config. TransactionScope
uses the new .NET 2.0 TransactionScope class for databases that support it. Set
providerClass="DataProviderEnterprise" in your app.config.