Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
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?
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement