I have two classes. Class1 and Class2. public class Class1{ ... public virtual IList<Class2> Class2s{get;set;}
I have 3 tables (Many to Many relationship) Resource {ResourceId, Description} Role {RoleId, Description}
I\'m developing a website with ASP.NET MVC, NHibernate and Fluent Hibernate and getting the error \"no session or session was closed\" when I try to access a child object.
My Entity Class: public class Building { /// <summary> /// internal Id /// </summary> public virtual long Id { get; set; }
I am creating a NHibenate application with one to many relationship. Like City and State data. City table
I\'m dealing with a legacy database that has date and time fields as char(8) columns (formatted yyyyMMdd and HH:mm:ss, respectively) in some of the tables.How can i map the 2 char columns to a single
I am trying to use the automapping feature of Fluent with开发者_运维知识库 nHinbernate to map a class with a different name than the table itself is name.
I am successfully getting Fluent NHibernate to update my database by calling UpdateBaseFiles: Public Sub UpdateB开发者_开发技巧aseFiles()
I am trying to create a mapping file for the following Model using Fluent NHibernate. But, I am not sure of how to do the mapping for the List<<string>string> in the mapping file.
I have a join table where the original table is a numeric type and the join table key column is a string type.Legacy decision that I am trying to avoid having to change to minimize the risk to the sco