Have you tried setting NotNull = true in the [Property]?
If you think about it, it makes sense: if you want the column to have a value 
different than X, an option is for it to be null. And because you are using 
attributes to map your classes, you need to tell NHibernate exactly what you 
want.

RP

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to