I have a simply code in Entity Framework 4.1
code first:
PasmISOContext db = new PasmISOContext();
var user = new User();
user.CreationDate = Da
After a bit of investigation I found that whilst .Net supports a minimum date (DateTime.MinValue) of 01/01/0001 00:00:00
and a maximum (DateTime.MaxValue) of 31/12/9999 23:59:59
in SQL Server Compact Edition minimum date is 01/01/1753 00:00:00
.
When I entered a date greater than 01/01/1753 00:00:00
, this error disappeared.