Does anybody know how I would map an entity with two many-to-many collections of the same child type.
I\'m not well versed in domain driven design and I\'ve recently started created a domain model for a project. I still haven\'t decided on an ORM (though I will likely go with NHibernate) and I am curr
My class looks like: public class User { public virtual int ID {get;set;} public virtual string Use开发者_如何转开发rname {get;set;}
Is there any way to set-up a symmetric self-join relationship mapping in NHibernate? Suppose we have two tables:
I\'m trying to do the following, but it\'s complaining that the \"classes referenced by \'extends\' were not found\". I think I need to having a mapping for each concrete type of Component but I can\'
i have an entity with its properities spread over two tables that i\'d like to map to one class using Fluent NHibernate, but with a constraint on the joining table.
I have an abstract base class, Entity, that all my POCOs derive from: public abstract class Entity { public virtual Guid Id { get; set; }
Hey all,I\'m kicking the tires on NHibernate and have a conoundrum I have been scratching my head over for a bit now, working with a legacy database with some fairly complex relationships.
It appears that NHibernate cannot automap more than one IList of a given type in an entity. Consider the following two entities (based on the Examples.FirstProject sample code that is included with t
I\'m mapping my database tables using NHibernate with NHibernate.Mapping.Attributes library and I got stuck to get the Filter attributes to work.