SmartObject Yes/No Type

  • 5 February 2008
  • 1 reply
  • 1 view

Badge +3
I've got a SmartObject with a property that has a Yes/No type.  The underlying service object is the Dynamic SQL Service and the datatype of the field is bit.  When I access the field in my ASP.NET page, the SmartObject is returning a value of "false" even though the sql field is null.  Can anyone tell me if this is expected behavior of the SmartObject?  I've looked the the SQL Service object code, but I don't see anything obvious there.

1 reply

Badge +4

Since I do not belive we're using Nullable Types for the booleans, I would guess there is some sort of conversion that is changing a null DB value to a false code value. 

Reply