Easy and clean:
public static DbConnection GetStoreConnection(this ObjectContext oc)
{
if (oc == null)
throw new NullReferenceException("oc is null");
var conn = (EntityConnection)oc.Connection;
if (conn.State == ConnectionState.Closed)
conn.Open();
return conn.StoreConnection;
}