I am doing Microsoft\'s MVC getting started tutorial:
Getting Started with Entity Framework 6 Code First using MVC 5.
This includes the creation of a code fi
You didn't specify the Initial Catalog
in your connection string so probably you are using the Master
database.
You need to specify the Initial catalog
like this:
<add name="MovieDBContext"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=yourDBName;Integrated Security=True"
providerName="System.Data.SqlClient"/>