We would like to map a single table on two classes with NHibernate. The mapping has to be dynamically depending on the value of a column.
It seems that NHibernate needs to have an id tag specified as part of the mapping.This presents a problem for views as most of the time (in my experience) a view will not have an Id.I have mapped view
I was often directed to this blog site when I was researching on NHibernate and a lot of times I got my answers. I have a question today. I appreciate any assistance.
I just had a NHibernate related problem where I forgot to map one property of a class. A very simplified example:
I would like to delete the ICollection PriceBreaks from Product. I\'m using the following method. However they dont seem to delete. What am i missing.
Reverse engineering an existing database to map with N-Hibernate using Fluent N-Hibernate. How can I map this?
I have an interesting issue today!! Basically I have two classes. public class A : B { public virtual new ISet<DifferentItem> Items {get;set;}
Entities: public class Parent { virtual public long Id { get; set; } virtual public string Description { get; set; }
I have a simple Parent/Child relationship between a Person object and an Address object.The Person object exists in the DB.After doing a Get on the Person, I add a new Address object to the Address su
I have a situation where I have a Common.Domain.Person and Specific.Domain.Person. First one should be provided as a part of a common package.