Error message for pages 72 thru 76 of the book
When I follow the instructions exactly from 72 thru 76 I get the following error message when I try to create the MusicStoreDB controller:
unable to retrieve the metadata for MVCStore.Models.Album one or more errors were detected during model generation:
-System.Data.EdmEntityType 'Album' has no defined key for this entity type
-System.Data.EdmEntity set: Entity set 'Album' is based on a 'type' Album that has no keys defined.
All in all I have found this book to be pretty frustrating due to the fact that it is not nearly instructional enough. I can understand the concepts of what is going on just fine without any problems. I just don't know where to put some of the stuff that you are talking about. If you had fleshed out the examples with better step by step procedures I could do this stuff pretty easily. But instead it leaves everything in the world up to guesswork which makes it almost impossible to follow the instructions in the book. Why isn't there a chapter by chapter working model of the examples in this book that you can at least look at and see how things are done and put together in the [code] download for this book? That really needs to be there for this book and there isn't.