Ejemplo n.º 1
0
 protected bool OnExecuting(IDbCommand cmd)
 {
     if (Executing != null)
     {
         ExecutingEventArgs args = new ExecutingEventArgs(cmd);
         Executing(this, args);
         return(args.Cancel);
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 2
0
 protected bool OnExecuting(IDbCommand cmd)
 {
     if (Executing != null)
     {
         ExecutingEventArgs args = new ExecutingEventArgs(cmd);
         Executing(this, args);
         return args.Cancel;
     }
     else
     {
         return false;
     }
 }