This is a migrated thread and some comments may be shown as answers.

Can I disable transaction on Bulk Operations?

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gongdo
Top achievements
Rank 1
Gongdo asked on 08 Apr 2015, 02:17 AM
According the documentation, http://docs.telerik.com/data-access/feature-reference/api/context-api/bulk-operations/featureref-contextapi-bulk-ud-operations-overview#transaction_boundries , it seems the transaction on Bulk Operations are forced by the context. Is it true? If so, how can I disable transaction?

1 Answer, 1 is accepted

Sort by
0
Yavor Slavchev
Telerik team
answered on 09 Apr 2015, 02:21 PM
Hello Gongdo,
Thank you for using our services.

As specified in the documentation, "every single bulk operation is executed in its own transaction and if the operation fails, it is rolled back.". This is by design and at that time you cannot control the bulk operations transactions.
The idea is that any bulk operation affects multiple records in the database and these data modifications should be consistent.

Regards,
Yavor Slavchev
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
General Discussions
Asked by
Gongdo
Top achievements
Rank 1
Answers by
Yavor Slavchev
Telerik team
Share this question
or