It would be great to specify a logger either globally, or for a specific stored procedure. Could be done with a new logger interface. Need Begin, Finish, Exception methods. Would probably take an IDbCommand as an argument, and perhaps the result set in the Finish method. The Exception method would quite clearly take the Exception that was thrown.
It would be great to specify a logger either globally, or for a specific stored procedure. Could be done with a new logger interface. Need
Begin,Finish,Exceptionmethods. Would probably take anIDbCommandas an argument, and perhaps the result set in theFinishmethod. TheExceptionmethod would quite clearly take theExceptionthat was thrown.