(this is using v3.2.0.3001)
If I want to set the default max string length for all properties of
my entities I would use something like:
mapper.BeforeMapProperty += (inspector, member, customizer) =>
customizer.Length(128);

But if I want to customize some specific property to be varchar(max),
I guessed that I could simply use:
mapper.Class<Student>(map => map.Property(s => s.Notes, pm =>
pm.Type(NHibernateUtil.StringClob)));

however, the "BeforeMapProperty" seems to be executed after the
"Class" customization.
Is this the intended behavior, and I should do this in some other way?

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to