i\'m trying to remove an item from a one to many list and have it persist in the database.Here are the entities i have defined:
Starting with some code: sessionFactory = Fluently.Configure(cfg) .Mappings(m => { List<Assembly> allAssemblies = new List<Assembly>();
How to map a class that has another class nested inside it. I am using automapping. It gives exception \'NHibernate.MappingException: Association references unmapped class: class1+class2\'
I am using Fluent NHibernate in my application. I have a criteria query that looks like this - var query = DetachedCriteria
I\'ve got a class library doing all my NHibernate stuff. It also handles all the mapping using Fluent NHibernate - no mapping files to deploy.
I am trying to get this FluentNHibernate mapping to work. I have three tables Person, Employee and Employer. The Employee table extends the attributes of the Person table, and it\'s primary key is a f
i have written a code like this public class person { public person() { public virtual int Id { get; set; }
I currently have a bookings model such as: public class RoomBooking : Entity, IBooking { public virtual Client Client { get; set; }
I have a class structure as follows (pseudo code): CompanyName (id, name) // Other information about the company
I\'m looking for a FluentNH (Flu开发者_StackOverflow社区ent NHibernate) convention or configuration that ignores all properties that have no setter: