问题
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