DbContext doesn't give any data
问题 I am using EntityFramework in my ASP .Net MVC project. The problem is I am not getting any data from the Database at all. My Database is a localDB and following is the connection string I am using - <connectionStrings> <add name="PortfolioDBContext" connectionString="Data Source=(localdb)\v11.0;Initial Catalog=NoobMVC;Integrated Security=True" providerName="System.Data.SqlClient"/> </connectionStrings> Following is my Db Context implementation - public class PortfolioDBContext : DbContext {