On Thu, Aug 19, 2010 at 4:50 PM, John Davidson <[email protected]> wrote:
> I can confirm that nullable datetime types work with VB.
> What happens when you create a Unit test just for your class where you
> create a new class and then populate properties and set the value of that
> property to nothing.

It doesn't give me any trouble.  In fact, that's sort of how I created
a temporary workaround in the setter...

        Set(ByVal value As Nullable(Of DateTime))
                If value.HasValue Then
                        _dateRangeFrom = value
                Else
                        _dateRangeFrom = Nothing
                End If
        End Set

> Also do you map defaults in your nhibernate config file?

My cfg.xml is pretty bland. No defaults mapped. Should I be? (rather
new at this)

Thanks very much,

Mark

-- 
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