StrataFrame Forum

dbNull

http://forum.strataframe.net/Topic1195.aspx

By Daniel Essin - 5/10/2006

I hate to keep harping on this, but the current behavior for handling null string fields is a real PAIN in the patoot.



The default behavior should be that these fields are retrieved without throwing an exception, i.e. they should return string.Empty if dbNull is retreived. If should require an override to enable the bo to throw the "Unable to cast object of type 'System.DBNull' to type 'System.String'." exception.
By StrataFrame Team - 5/11/2006

Yes, we're looking into project default settings that allow you to specify your own default behavior for the different common return types.  And the Customization Wizard will help greatly with that as well.