I have a situation where I have a table in which some of the columns are NULL, but I want my NHibernate-based objects to display these values as fields with invalid values. If I do this with a normal mapping, NHibernate assigns a defult value of this type to the object field in the case of a null value. I would like to change this behavior so that an exception is thrown instead. Is it possible?
source
share