I\'m using the DbContext and Code First APIs introduced with Entity Framework 4.1.
The data model uses basic data types such as string
string
In my case this happened when I used entity and the sql table has default value of datetime == getdate(). so what I did to set a value to this field.