dynamics crm 2011 - Multiple operations in a single transaction -
a customer requested interesting thing. they'd have 2 operations - update entity in context and , update other entity carried out simultaneously.
in sql, it's pretty straight-forward. 1 can roll-back whole shabang if needed. however, i've never seen done in crm. @ possible?!
please note i'm looking solution based on supported approach.
simultaneously may not right word, can in same database transaction updating 2nd entity within plugin operating on 1st transaction in pre or post operation event long use iorganizationservice provided in plugin context.
throwing kind of exception "bubble up" causing entire transaction rolled (assuming you're not catching , "eating" exception)
Comments
Post a Comment