We use Entity Framework 5, but have a requirement to ALSO use a normal database connection from the application for some custom SQL we need to perform.
So, I am creating
//Entity Framework 5
myContext.Database.Connection.ConnectionString
//Entity Framework 6
//Entity Framework Core 1
myContext.Database.GetDbConnection().ConnectionString