Gets the Spring IDbProvider given the ISessionFactory.
The corresponding IDbProvider, null if no mapping was found.
The matching is performed by comparing the assembly qualified name string of the hibernate Driver.ConnectionType to those in the DbProviderFactory definitions. No connections are created in performing this comparison.
|InvalidOperationException||If DbProviderFactory's ApplicaitonContext is not an instance of IConfigurableApplicaitonContext.|