public void OnError(SqlExceptionEventArgs e) { if (Error != null) { Error(this, e); } else { throw e.Exception; } }
protected void OnError(SqlExceptionEventArgs e) { if (Error != null) Error(this, e); else throw e.Exception; }