更新时间:2023-10-22 20:11:10
将其用作查询字符串(将创建一个在Management Studio中查看的新数据库):
Use this instead for the query string (will create a new database viewed in the management studio):
<add name="MovieDBContext">
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;database=MvcMovie;
providerName="System.Data.SqlClient" /></add>
或在解决方案资源管理器"中双击App_Data之前按显示所有文件"选项.
Or press "Show all files" option before double clicking the App_Data in the Solution Explorer.