General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
When an SQL server column is nullable how do I set/update the entity column value to null?
Thanks, Ted
>Linda,
>
>>I think I understand your instructions but I can't seem to get them to work. When I use the MM .NET busines layer generator, the value of the date field in the entity already has the date of 12/30/1899 and does not evaluate as a null value. (I tested for entityobject.datefield is dbnull and got a warning that it can never be null.) I notice that the business object uses a function GetNonNullableDbValue to load the field value to the entity object. Can I change that to test the value there?
>
>Is the database column nullable?
>
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only