Using miniprofiler EF with odac

Hi,

I am trying to use miniprofiler EF for oracle connection. If followed all the suggestions given in stackoverflow -

created oracleconnection and then passed to create profile connection
EFProfiledDbConnection(oracleconnection , MiniProfiler.Current);

then using this profileconnection in the DBcontext base controller.

after this when I do DBcontext of LINQ I am getting

  • Unhandled Exception: System.ArgumentException: Oracle.DataAccess.Client.OracleConnection is invalid
    at Oracle.DataAccess.Client.EFOracleProviderServices.GetDbProviderManifestToken(DbConnection connection)
    at System.Data.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)

Please guide me.

miniprofile EF - 2.0
EF- 4.2
ODAC - 4.11