DotConnect nHibernate Sample

DotConnect nHibernate Sample

Postby corelio » Thu 23 Nov 2017 20:56

Hi. I am trying to use DotConnect Driver (9.5.381) with Oracle 11g and nHibernate 4.1.

I used a code based on a old post from 2010
https://blog.devart.com/nhibernate_and_oracle.html

However, the code uses Devart.Data.Oracle.NHibernate.* classes which I can not find anywhere.

public DevartOracleDriver()
: base("Devart.Data.Oracle",
"Devart.Data.Oracle.NHibernate.NHibernateOracleConnection",
"Devart.Data.Oracle.NHibernate.NHibernateOracleCommand")
{
}

Is this code still working? Any hints on how to solve this?
corelio
 
Posts: 1
Joined: Thu 23 Nov 2017 20:44

Re: DotConnect nHibernate Sample

Postby Shalex » Tue 28 Nov 2017 06:55

Both Devart.Data.Oracle.NHibernate.NHibernateOracleConnection and Devart.Data.Oracle.NHibernate.NHibernateOracleCommand classes are available in Devart.Data.Oracle.dll of Professional version.

These classes are internal. You can use them like described in the tutorial.
Shalex
Devart Team
 
Posts: 7833
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle