Access a default database created by Entity Framework.
Find the Connection String
In you ASP.NET WebApi controller, write:
Example of default Entity Framework connection string in the Output window:
Open a Command Prompt for VS2015 and type:
Output:
Print all the information of MSSQLLocalDB:
Output:
Explore Your LocalDB
Add SQLCMD.exe to the command line path:
Then connect to the database:
Display all databases:
Output:
Select a database:
Output:
Display all the tables:
Output: