I have a simply code in Entity Framework 4.1 code first:
Entity Framework 4.1
PasmISOContext db = new PasmISOContext(); var user = new User(); user.CreationDate = Da
I hade same probleme. in my case, it was due to datetime field with a null value. I had to passe a value to datetime and evrythings went fine