I am a little confused on the code first entity framework database.
I created a new DbContext and class that I will be storing in that context, like this:
using (var db = new BloggingContext())
{
var connectionString = db.Database.Connection.ConnectionString;
Console.WriteLine(connectionString);
}
The above code uses the Microsoft example; for BloggingContext substitute your DbContext
class. It will give you the connection string that the entity framework is using, which includes the instance name.