LINQ DateTime save is not working when field need to be null
Posted on 2011-09-07
I am currently trying to save a record to a sql server express database. One of the fields is a DateTime field that needs to be null upon record creation. For some reason, even though the linq object that represents the data has a null value set for the record, I keep getting a SqlDateTime error indicating that the date enter should be between 1753 and ......., forgot the max range. Anyway, if I am setting this field as null why is this occuring and what can I do to fix it(workarounds)?