I currently have an Enu开发者_如何学Gom being staved as a string in the database. I now what to wuery and filter on this Enum using the Linq Provider for nHibernate but I keep getting exceptions.
my goal is to log all changes (INSERT, UPDATE, DELETE) made to the database. At the moment I use the \"state\" properties of the event args from the event listener API of NHibernate.
I am getting this exception: Unable to cast开发者_Go百科 object of type \'NHibernate.Collection.Generic.PersistentGenericBag`1[System.Int64]\' to type \'System.Collections.Generic.ISet`1[System.Int6
I am attempting to save(insert) a Parent entity with list Child entities. Both entites use a Guid as primary keys. The ke开发者_如何学运维ys are none nullable and there is no key relationship set up i
Some details off hand: NHibernate : 2.1.2.4000 Oracle Instant client : x64 11.2.0.2.0 Mono : Mono JIT compiler version 2.10.2
Is there a way to have NHibernate\'s SchemaExport generate check constraints defined in its .hbm.xml files? Or is that not really part of its domain?
I\'m putting a front-end together for one of our databases and would like to use NHibernate for it. Can anyone point out any resources开发者_如何学Python for getting started with Database-first appro
I currently have this Fluent NHibernate configuration: public class NHibernateConfig { public static Configuration Configure()
I am using nhibernate + fluent nhibernate asp.net mvc 3 ninject Currently I am using nhibernate, ninject with the repository pattern and service layers.
I have a Status property in one of my POCO\'s that acts as a discriminator (very similar to using an enum).