I have a thick client application with a lot of fairly complicated object interrelationships. Occassionally I have an instance where A references an entity X, which gets deleted. The database saves fi
I am dealing with a legacy database, and we have a field which doesn\'t make sense anymore, but I would rather not change the DB schema.
Here\'s what we know: It\'s recommended by NHibernate to override Equals() and GetHashCode(). It\'s recommended by Microsoft that you NOT override operator == in non-immutable types. It seems, therefo
I\'m still pretty new to these technologies.The real problem here is how to manage the sessions per thread in the console app.Currently, if I run it as a single thread then all is well.As soon as I sw
I am using Nhibernate 3.2, along with a build of FluentNhibernate compatible with NH 3.2 and I have come to map a legacy part of my s开发者_Go百科ystem. I believe it is possible to do what I require,
I\'ma roo开发者_JAVA百科kie and MVVM NHibernate. No I\'m doing a project with MVVM and NHibernate. I need an example to facilitate studying.
How do I convert fol开发者_如何学JAVAlowing SQL to NH Queryover, select COUNT(*) from (select p.CODE,sl.BATCH from STORELOCATION sl
I have been searching for several hours now how to do this, but can\'t seem to find anything to help me.
now I\'m building a web application on asp-net using castle active record. When I was trying to save an entity with a has-many relation I got the error: \"object references an unsaved transient instan
This question is close to but n开发者_StackOverflow社区ot the same as the one here: NHibernate Query across multiple tables