As an example, I have a method implemented with an SP with some business logic inside. (XOperations.UpdateX)And I need to call this method as a part of a transaction.
BeginTransaction ;
Object1.Save ;
Xoperations.UpdateX;
Object2.Save;
Commit;
I've found that DbSourceItem.ExecuteNonQuery method has a transactional parameters.
Should I use DbSourceItem.ExecuteNonQuery method ? Or anything else ?