Primary Keys and Entity Framework
February 7, 2012 1 Comment
If you are creating EF classes from an existing database schema and one of your classes has a composite key of all of the fields like this:
You didn’t define a primary key in the database. Once you go back and do that, your EF class will reflect it:
Finally a schema that looks like fun….