public override void OnCommandException(AdoCommandContext context)
 {
     this.transaction?.Dispose();
     this.transaction = null;
 }
示例#2
0
 public override void OnCommandException(AdoCommandContext context)
 {
     this.Handle(() => this.transaction.Rollback());
 }
示例#3
0
 public override void OnCommandCreated(AdoCommandContext context)
 {
     context.Command.Transaction = this.transaction;
 }
示例#4
0
 public virtual void OnCommandCreated(AdoCommandContext context)
 {
 }
示例#5
0
 public virtual void OnCommandException(AdoCommandContext context)
 {
 }
示例#6
0
 public virtual void OnCommandExecuted(AdoCommandContext context)
 {
 }