In the light of Closing connections explicitly in Entity Framework and http://msdn.microsoft.com/en-us/library/bb738582%28v=vs.90%29.aspx it seems that I should be using the con
I believe the easiest way to create a SqlConnection in EF6 is to do the following:
DBContext context = new DBContext(); SqlConnection sqlconn = new SqlConnection(context.Database.Connection.ConnectionString);