We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d86bf81 commit 83667abCopy full SHA for 83667ab
src/EntityFramework/Utilities/DbProviderFactoryExtensions.cs
@@ -30,7 +30,7 @@ public static string GetProviderInvariantName(this DbProviderFactory factory)
30
31
if (row == null)
32
{
33
- if (factory is SqlClientFactory)
+ if (factory.GetType() == typeof(SqlClientFactory))
34
35
return "System.Data.SqlClient";
36
}
0 commit comments