TransactionAttribute.OnActionExecuting(ActionExecutingContext context) Method
.NET Standard 2.x
Called by the ASP.NET MVC framework before the action method is executed.
Namespace: SnapObjects.Data.AspNetCore
Assembly: SnapObjects.Data.AspNetCore.dll
Syntax
public override void OnActionExecuting(ActionExecutingContext context)
Parameters
context
Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext
The filter context.
Remarks
It creates the System.Transactions.TransactionScope
object internally to make the action transactional.
Applies to
.NET Standard
2.x