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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -