Im using EF CTP 4. I have a simple console app (for testing purposes) that is using EF to insert some data into a SQL database.
I have come to a problem where by upo
In my case EntityFramework generated this code inside Context.cs class:
Context.cs
modelBuilder.Entity(entity => { entity.Property(e => e.Id).ValueGeneratedNever(); // <= this line must remove ... }
after remove this line, problem solved.