Permalink
Browse files

Sync from origin Repostity (#407)

* Situation for OracleConnection when using the Oracle.DataAccess.dll

* Change code of DbProvider for different connection Assembly.

* Fix formatting
  • Loading branch information...
CV80 authored and pleb committed Jul 23, 2017
1 parent 14b7919 commit 4a9be008fbd3896b69e15b1035bc411b42656098
Showing with 1 addition and 4 deletions.
  1. +1 −4 PetaPoco/Core/DatabaseProvider.cs
@@ -168,11 +168,8 @@ protected DbProviderFactory GetFactory(params string[] assemblyQualifiedNames)
foreach (var assemblyName in assemblyQualifiedNames)
{
ft = Type.GetType(assemblyName);
if (ft != null)
{
break;
}
}
if (ft == null)
@@ -280,4 +277,4 @@ internal static DbProviderFactory Unwrap(DbProviderFactory factory)
return unwrapped == null ? factory : Unwrap(unwrapped);
}
}
}
}

0 comments on commit 4a9be00

Please sign in to comment.