On the mapping you can say if the property, as far as NHibernate is concerned, should allow null value or not. In mapping by code, this is achieved with NotNullable(false), you can see more here: http://notherdev.blogspot.pt/2012/01/mapping-by-code-property.html.
RP On Friday, October 11, 2013 5:32:00 AM UTC+1, guilemsola wrote: > > You're right Ricardo, NH looks to be complaining about setting a null > value to a non nullable object. And in fact client field is null in > database. > > But client is an entity class therefore is nullable an no explicit > nullable condition should be stated, isn't it? > -- 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 http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/groups/opt_out.
