public ProviderInfo GetExactly(DbPlatform dbPlatform) { IProviderMetadata metadata = _providerFactory.GetProviderMetadatas().Single(m => m.Platform == dbPlatform.Platform && m.MajorVersion == dbPlatform.MajorVersion && m.Driver == dbPlatform.Driver); return(new ProviderInfo(_providerFactory.GetProvider(metadata), metadata)); }