You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type.GetType()Unable to read parameter is 'Oracle.DataAccess.Client, Oracle.DataAccess' and 'Oracle.ManagedDataAccess.Client, Oracle.ManagedDataAccess, Culture=neutral, PublicKeyToken=89b483f429c47342'
#613
Open
xqpGitHub opened this issue
Jul 28, 2021
· 1 comment
protected DbProviderFactory GetFactory(params string[] assemblyQualifiedNames)
{
Type ft = null;
foreach (var assemblyName in assemblyQualifiedNames)
{
ft = Type.GetType(assemblyName);
if (ft != null)
break;
}
if (ft == null)
throw new ArgumentException("Could not load the " + GetType().Name + " DbProviderFactory.");
return (DbProviderFactory)ft.GetField("Instance").GetValue(null);
}
protected DbProviderFactory GetFactory(params string[] assemblyQualifiedNames)
{
Type ft = null;
foreach (var assemblyName in assemblyQualifiedNames)
{
ft = Type.GetType(assemblyName);
if (ft != null)
break;
}
Type.GetType无法读取“Oracle.ManagedDataAccess.Client, Oracle.ManagedDataAccess, Culture=neutral, PublicKeyToken=89b483f429c47342"
和“Oracle.DataAccess.Client, Oracle.DataAccess”
The text was updated successfully, but these errors were encountered: