Can I disable transaction on Bulk Operations?

Thread is closed for posting
2 posts, 0 answers
  1. Gongdo
    Gongdo avatar
    3 posts
    Member since:
    Apr 2013

    Posted 07 Apr 2015 Link to this post

    According the documentation, , it seems the transaction on Bulk Operations are forced by the context. Is it true? If so, how can I disable transaction?
  2. Yavor Slavchev
    Yavor Slavchev avatar
    22 posts

    Posted 09 Apr 2015 Link to this post

    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.

    Yavor Slavchev
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
Back to Top