‘datetime2’ error when using entity framework in VS 2010 .net 4.0

Entity framework handles all the dates as a Datetime2, so, if your fields in the database are Datetime, this could be a problem.
We had the same problem here, and from what we found, populating all the date fields and changing the datatype, are the most commom solutions

Leave a Comment