Find database of Web API project on Visual Studio 2015 LocalDB

十年热恋 提交于 2019-12-12 02:53:49

问题


I'm developing a Code First Web API using ASP.NET 5 and MVC 6. I can test my models and controllers locally and in Azure using a publish profile, but I want to see if the database is applying some constraints. I read that I can see the database's Tables and Columns using the SQL Server Object Explorer.

When I go to View > SQL Server Object Explorer I can see the following:

(localdb)\MSSQLLocalDB (localdb)\ProjectsV12 (localdb)\v11.0

I know that v11.0 was used on VS 2012 and it was changed to MSSQLLocalDB on VS 2015 (I don't know what ProjectsV12 is doing there). So I open (localdb)\MSSQLLocalDB > Databases and I only see a System Databases subfolder, I can't find my project's database. Am I looking on the right place? Am I missing a step? Thanks for your help.

Here's a pic of what I see.

来源:https://stackoverflow.com/questions/36229687/find-database-of-web-api-project-on-visual-studio-2015-localdb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!