This question is locked. New answers and comments are not allowed.
Hi,
I want to use transaction with the OpenAccess ORM mapper. Unfortunately I have only found in the documentation the old api:
Is this the recommended way?
If not how can I make sub-transactions. On which I can perform a rollback without the touching the surrounding transaction.
I know that I can perform a commit or rollback on the openaccess context, but what is the preferred way for a cancelling a little part of changes.
I want to use transaction with the OpenAccess ORM mapper. Unfortunately I have only found in the documentation the old api:
IObjectScope scope = ObjectScopeProvider1.GetNewObjectScope();
ITransaction txn = scope.Transaction;
Is this the recommended way?
If not how can I make sub-transactions. On which I can perform a rollback without the touching the surrounding transaction.
I know that I can perform a commit or rollback on the openaccess context, but what is the preferred way for a cancelling a little part of changes.