DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

How to deal with null table value in LINQ?

rated by 0 users
This post has 0 Replies | 0 Followers

Top 25 Contributor
Posts 103
Points 1,610
Dwarvend Posted: 03-22-2008 7:36 PM

 

hey guys happy easter !!!, I was practicing my LINQ skills lately and just wondering how do you deal with null values in database being map to entities?

to make it clear in the ORDER table in northwind database the shippeddate contains null values and the shippeddate property in my entity is declared datetime now when I try to retrieve those orders with null values on shippeddate I get an error since datetime is not expecting a null value how do you properly deal with this?

 

TIA

Dwarvend's Review

  • | Post Points: 5
Page 1 of 1 (1 items) | RSS

Copyright DevPinoy 2005-2008