SamSaffron/MiniProfiler — pull request #43 by counsellorben (2012-05-06 15:25:06+00:00)
Title: Issue with creating profiled EF connection

When updating to MiniProfiler (goodbye MvcMiniProfiler), I ran into an issue with creating a EFProfiledDbConnection.

I tracked the issue down to the GetStoreConnection() method in ObjectContextUtils. builder.TryGetValue("name", ...) returns an empty string, even where there is no name key in the connection string. Added a test to insure string is not empty.