To all,
I went into the book on page 96 to add the suggested code to Global.asax.cs. I entered the following:
However, it did not recognize the Database class as existing. I then added the following code at the top of Global.asax.cs:
Code:
using System.Data.Entity
However, it did not recognize the existence of MusicStoreDbInitializer. I then added the following code at the top of Global.asax.cs:
Code:
using MvcMusicStore.Models
Once this was added, it recognized the MusicStoreDbInitilizer. I then got it to work.