Could some one help, how would I instruct automap to have not-null for a column? public class Paper : Entity
My Entity Class: public class Building { /// <summary> /// internal Id /// </summary> public virtual long Id { get; set; }
I\'m using Fluent NHibernate, and auto-mapping the classes. I have a computed property in a class along the lines of
When ever you set a string value in fluent NHibernate it alwasy sets the DB vales to Nvarchar(255), I need to store quite a lot of long string which are based on user inputs and 255 is impractical.
My Domain auto mapping was working but now as I updated my NHibernate stack I\'m gettingmapping exception when Session Factory is building the Configuration:
I\'m trying to get Fluent NHibernate 1.0 RTM to map a User entity for me so that I have access to UserId and UserName inside my ASP.NET MVC application via NHibernate.
I am pretty new to S#harp architecture and fluent nhibernate. I was trying to build a sample solution using the template.
What I need to do is automap subclasses of my abstract page class. I need to find them in a list of assemblies that I get a runtime (at the initialization stage). I don\'t have any reference to the as
I am not exactly an NHibernate expert, so this may be a lack of understanding in that department. I have two simple entities with a many-to-many relationship
I am using S#arp architecture with Fluent Nhibernate and Automapper on a legacy DB. The id column of one of the tables is different from the Automapping convention and therefore I tried to override i