I have sql database. In sql the column type is datetime nullable but in c# entities are defined as only datetime.
If the dateTime is null the response as xml format gives no problem but response as json format gives problem. If I change datetimes
into datetime?
response as json format works but it effects other entities in bad way.
How can I solve this problem? Thank you.