Closed davidduffett closed 12 years ago
By only accepting SqlConnection I cannot use this with, for example, the MiniProfiler ProfiledDbConnection (which derives from DbConnection).
It would be better to take in IDbConnection so other types of connections can be used.
Sigh. It's been a long day.
By only accepting SqlConnection I cannot use this with, for example, the MiniProfiler ProfiledDbConnection (which derives from DbConnection).
It would be better to take in IDbConnection so other types of connections can be used.