Currently only DbConnection types are supported for use with profiled db connection. Any plans on supporting adomdconnection as well?
Would be a nice feature to see support for!
Currently only DbConnection types are supported for use with profiled db connection. Any plans on supporting adomdconnection as well?
Would be a nice feature to see support for!
Hmm, does changing the line:
public class ProfiledDbConnection : DbConnection, ICloneable
to
public class ProfiledDbConnection : IDbConnection, ICloneable
fix this?
Will try, will keep you posted.
I think this is possible, however support for entity framework isn’t possible as some features of entity framework explicitly require a DbConnection instead of the more generic IDbConnection.
For me this is a viable solution but I can imagine this will not be a solution for everyone.