Hi, I want to place logging around the Database class to record the stored procedure name and execution time....
In our code the stored procedures are generally called as follows:
DatabaseConnection(DbName).LoadDataSet(spName, ds, TblName, params);
The DatabaseConnection function is:
protected Database DatabaseConnection(string databaseName)
What I want to do is raise events when the LoadDataSet starts and finishes. Any ideas how to apply this?