Fluent nHibernate error CreatingSessionFactory with Oracle -


When I try BuildSessionFactory () therefore I can not find the combination that error to say: < / p>

NHibernate.Driver.OricleDataClientDriver, NHibernate, version = 2.1.2.4000

could not make driver. I have my bin folder and reference Oracle.DataAccess version 4.11 locally, I'm using it:

Oracle 10 and Visual Studio 2010 .NET 4

and down method calling with:

  public static ISessionFactory CreateSessionFactory () {FluentConfiguration idk = Fluently configure () Kdetabes (Orekldataieltisng. Oracle 9. User Reflections Oprimjr () Kmesefet Deepth (3) .AdoNetBatchSize (500). Connection String (CS = & gt; CS Server ("Paul-PC"). Port (1521). Tens ( "XE"). Username ( "xxxx") R & D ( "xxxx"). Pulling (true) Ktetment Kachesij (100). The other option ( "minimum pool size = 10; Inkr pool size = 5; DCR pool Size = 2; ")))) // It does automatically .. but I like to be clear;). Proksifactorfractor ( "NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle") .ShowSql ()). Mapping (M => m.FluentMappings.Add (typeof (PortalUserMap)); Idk.ExposeConfiguration (BuildSchema); Return idk.BuildSessionFactory (); }  

The PortalUserMap class is below:

  using the system;  

using System.Collections.Generic; Using System.Linq; Using System.Text; Using FluentNHibernate.Mapping; Using Mobisoft.Portal.Security.Entities;

Name space Mobisoft. Portal. Security. Mappings {public class portal user map: classpool {public portal user map (table) (table ("portal");

  id (x => x.Id, "id"). Born Recognise (); Map (x => x.Name, "NAME"); 

Please enter the reference of Oracle.DataAccess.dll in your project, copyLocal to True Set on


Comments