The OrmLiteConnections created by OrmLiteConnectionFactory were wrapped by the factory's ConnectionFilter, therefore can't access the connection's dialectprovider.
There is a case when using multiple database types simultaneously, and using Miniprofiler at the same time.

This commit solves this problem by wrapping the OrmLiteConnection's dbConnection property, not the OrmLiteConnection. Therefore the DialecProvider can be extracted from the OrmLiteConnection even when using Miniprofiler.