my question:
I am trying to use Oracle.DataAccess.Client
Provider with NHibernate (Fluent), and I configured it as follows:
Fluently.Configure().Database(OracleClientConfiguration.Oracle10.Provider("Oracle.DataAccess.Client").ConnectionString(c => c.FromConnectionStringWithKey("ORACLE1"))).
and I have this error:
"Could not load type Oracle.DataAccess.Client. Possible cause: no assembly name specified.":"
I already add Reference to Oracle.Dataaccess
dll (ODAC) with copy local = true, but error persist...
Any suggestions?
Here's a working code snippet:
Without specifying a provider, it automatically picks Oracle DataAccess up.
Edit: It does not pick it up automatically, I just have it on my connection string: