I\'m using EF 6.1.0 and was creating a WCF Service.
First I created a Class Library containing my entities, Mappers and Context for initializing EF. I\'ve also creat
I just experienced the same problem. The Code First from database wizard generated one of the columns as [Column(TypeName = "date")].
[Column(TypeName = "date")]
Calling .saveChanges() resulted in the Sequence contains no elements.
.saveChanges()
Sequence contains no elements
After changing the defined column to [DataType(DataType.DateTime)] it worked as expected.
[DataType(DataType.DateTime)]