Q:

How do I view the database that EntityFramework created for me?

Just starting off with MVC 4 and Entity Framework 5 (4.4 for .net 4). I've defined a couple models and saved something to database. I want to see what's going on behind the scenes, but I can't figure out how to connect to this database. How do I do it?
I assume I can connect to it via the Server Explorer somehow, but I'm not sure what options to pick.

A:

You can get the connection string using DbContext.Database.Connection.ConnectionString - it will tell you everything since it is used to connect to the database. Then in server explorer you should know whether to pick SqlExpress or one of the SqlCompact options.

