I been looking around for how to do this but I can’t get it to work. I seen many tutorials that using
PropertyMap or IProperty but I can’t figure out what using statement to use and VS intellisense does not know either
http://serialseb.blogspot.com/2009/01/fluent-nhibernate-and-nvarcharmax.html
I am using fluent nhibernate and nihbernate 3.0. So did they remove these?
I haven’t tested, but try extending
PropertyBuilder, using the methodPropertyBuilder.Length(int length).https://github.com/jagregory/fluent-nhibernate/blob/master/src/FluentNHibernate/Mapping/Builders/PropertyBuilder.cs