Provide a custom IDbProfiler implemenation that can capture sql command executed against a database and some utility methods around MiniProfiler components.
- Created ProfiledDbConnectionFactory
- Added Database and Connection in which the command was executed on
- Support ReviewCommandTextEventHandler which can be used to do some extra task on command text (such as re-format the text)
- Signed the assembly
- The SqlConnectionFactory has been renamed to DbConnectionFactoryHelper. The new method now accepts an instace of IDbConnectionFactory
- Default support is for SQL Server database. If your database is MySQL or any other kind, please create an implementation of IDbConnectionFactory.
- Remove private constructor on CustomDbProfiler, so that it can be instantiate whenever we need or use CustomDbProfiler.Current as well.
- MiniProfiler (>= 22.214.171.124)