I have this Fluent NHibernate mapping: public LossMap() { Table(\"losses\"); Id(x => x.Id).Column(\"id\");
My question is very similar to this one (that wasn\'t really answered): Nhibernate: distinct results in second level Collection
I have two hbm.xml mappingfiles. They are identical except for the class table and class entity-name properties. They are supposed to populate the same Entity.
In my object graph, VendorServiceRateChange has a lazy loaded property IList<VendorService> VendorServiceList and the VendorService has a lazy loaded property IList<ClientService>.
For our web-application (ASP.NET) we\'re using Fluent NHibernate (2.1.2) with 2nd-Level cach开发者_开发技巧ing not only for entities, but also for queries (generating queries with the criteria API). W
I have a case where I need to load about 10 000 objects from database. The data model is something like this:
I\'m currently building a message board where I need to output the number of messages in a Thread. ID Name
I\'d really appreciate some help with a problem I have. Class L holds a collection of R and R holds a collection of Q.
I\'m having difficulties figuring out how to do the following. Given the following classes: public class Post
I am trying to select the children from a parent collection using QueryOver in nhibernate. This is what I am trying to do in HQL: