Esempio n. 1
0
        public override void OnPreExecuting(IPreMethodExecutingContext context)
        {
            if (context.IsCancel)
            {
                return;
            }

            context.FilterBag[SCOPE_KEY] = new TransactionScope(this.IsRequreNewTransaction ? TransactionScopeOption.RequiresNew : TransactionScopeOption.Required, new TransactionOptions {
                IsolationLevel = this.IsolationLevel,
            });
        }
 public override void OnPreExecuting(IPreMethodExecutingContext context)
 {
 }
Esempio n. 3
0
 /// <inherit />
 public abstract void OnPreExecuting(IPreMethodExecutingContext context);