You can get the connectionstring used by EF by using the following:
MyDbContext.Database.Connection.ConnectionString
Or as mark says you can initalise the context with a sqlconnection
You can get the connectionstring used by EF by using the following:
MyDbContext.Database.Connection.ConnectionString
Or as mark says you can initalise the context with a sqlconnection