Most voted "nhibernate" questions
Nhibernate is an open source object-relational mapper (ORM) for the . NET library.
Learn more…108 questions
Sort by count of
-
0
votes1
answer19
viewsMapping equivalence between Fluentnhibernate and Entityframeworkcore?
I am on a project where it is necessary to exchange the ORM from Nhibernate to Entityframeworkcore. With this, all the mappings will have to be rewritten to the Entity standard and I’m having some…
-
0
votes0
answers40
viewsNhibernate error in group by
I’m studying NHibernate and is giving me an error in group by, but at first it is generating me wrong sql, do not know why, follow the code below SQL and its structure. string hql = "select…
-
0
votes0
answers42
viewsConnect via 64 bit odbc in Sybase database
I am trying to connect to a database via Odbc, and I use the driver System.Data.Odbc. In odbc 32-bit works already, in odbc 64-bit does not. IDictionary<string, string> properties = new…
-
0
votes0
answers39
viewsConnection string Sybase
I am trying to connect to a SQL Anywhere 12 database with iAnywhere.Data.Sqlanywhere.dll, and am having trouble specifying the connection_string. properties.Add("connection.driver_class",…
-
0
votes0
answers23
viewsNhibernate with list of objects changing objects linked by FK
A Document has a Items list mapped with Cascade all (when saving the document, items must be saved). Each item has a reference to the FK of the previously registered product. When opening the…
-
-1
votes1
answer751
viewsCould not create the driver from Nhibernate.Driver.Oracledataclientdriver, Nhibernate, Version=4.0.0.4000, Culture=neutral,
I am working on an application with NHibernate and Fluent Nhibernate. I’m having trouble with my settings App.config. I don’t know exactly what’s wrong with my settings. I’m getting this Exception:…
-
-1
votes1
answer77
viewsSystem.Nullreferenceexception was unhandled by user code
When compiling my application I received this error from the image below, would anyone know how I could solve?
-
-1
votes1
answer77
viewsInvalid n Index for this Oracleparametercollection with Count=n
I’m racking my brain trying to figure out why I was wrong. Mapping of my table: <class name="AtaReuniao" table="EPN.ATA_REUNIAO" lazy="true" where=" ARUN_IN_EXCLUIDO = 'N' "> <id name="Id"…