Re: Implementing Multi-Operation Functions

Re: Implementing Multi-Operation Functions

Old forum URL: forums.lhotka.net/forums/t/5177.aspx


JoeFallon1 posted on Wednesday, July 30, 2008

"I assume by using the Transactional attribute, then the entire process would succeed or fail as a complete unit? That works OK, but what if I go one level deeper with the transaction? Say each of the objects in my ROLB has its own "PostMe" command that would do all the work of posting one order within its command. Then I could put the transactional attribute at that level and even if the overall process ends up failing somewhere down the line, at least the orders up to that point would get posted. What I would definitely want to avoid is having any one order end up partially posted."

===============================================================

Gee - where did you get that idea? It is exactly what I wrote above.

Joe

 

Copyright (c) Marimer LLC