Link to home
Start Free TrialLog in
Avatar of craigdev
craigdev

asked on

Enterprise Library Data Application Blocks - logging

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)
        {    
            return DatabaseFactory.CreateDatabase(databaseName);
        }



What I want to do is raise events when the LoadDataSet starts and finishes. Any ideas how to apply this?




ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial