|
From: NHibernate J. <mik...@us...> - 2006-11-06 07:58:29
|
[ http://jira.nhibernate.org/browse/NH-311?page=all ] Sergey Koshcheyev closed NH-311: -------------------------------- Resolution: Won't Fix Doable now using a usertype (possibly parameterized). > null-value attribute for value types > ------------------------------------ > > Key: NH-311 > URL: http://jira.nhibernate.org/browse/NH-311 > Project: NHibernate > Type: Improvement > Components: Core > Versions: beta-0.8.4 > Reporter: Sergey Koshcheyev > > It would be nice to have a null-value attribute for properties (or types). Setting null-value="default" would mean that the default value for the type (DateTime.MinValue, 0, false) would be taken as NULL. It's mostly useful for DateTime so that people who want to have null dates don't have to use the Nullables library. > Other values should be allowed too, just need to think how to parse the attribute value for user-defined structs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |