Difficulty with Chapter 4 and scaffolding
I am having issues with scaffolding and having the entity framework recognize that I need a local database created - it is assuming that a SQL database should be communicating with my code, and thus crashes.
Per the book, EF supports the creation of a local database, but I couldn't find why the DbContext Class on page 83 was not registering properly. Am I suppose to add that code because I can't find it? If I am suppose to add it, where do I add it? It's hard to explain because I don't fully understand when Entity Framework steps in and utilizes the hardcoded DbContext and MusicStoreDB.
How does the DbContext, scaffolding process, and StoreManagerController interact? Why doesn't my StoreManagerController recognize that I have a local DbContext (MusicStoreDB).