Ejemplo n.º 1
0
 public void OnError(SqlExceptionEventArgs e)
 {
     if (Error != null)
     {
         Error(this, e);
     }
     else
     {
         throw e.Exception;
     }
 }
Ejemplo n.º 2
0
 protected void OnError(SqlExceptionEventArgs e)
 {
     if (Error != null)
         Error(this, e);
     else
         throw e.Exception;
 }