M# Tutorials

Learn to build .NET applications with M#. Our step-by-step tutorials will get you up-to-speed rapidly.
If you already know ASP.NET and C#, you can master M# in a week or two.

Run in Transaction

We often need to run related tasks in one transaction scope so that if one fails, they all fail and all previous data modifications are rolled back, to maintain data integrity.

M# provides full support to run button actions inside one transaction scope. For this purpose M# provides a button attribute "Workflow run in transaction". However, M# automatically implements transactions automatically for tasks like saving, updating or deleting record, but you can also use the aforementioned attribute to implement transaction.

Selecting "Auto" allows M# to decide when to implement transaction scope for button actions. "True" forcefully implements the transaction for all the button actions and "False" will prevent M# from running action inside truncation