Skip to content

Commit

Permalink
in LoadDatabasePlugin() check for OdbcDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
ormico committed Mar 14, 2016
1 parent 088d9cb commit 13ffbef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Ormico.DbPatchManager/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ public IDatabase LoadDatabasePlugin(string PluginType)
{
rc = new TestDatabase();
}
else if (string.Equals(PluginType, "OdbcDatabase", StringComparison.OrdinalIgnoreCase) ||
string.Equals(PluginType, typeof(OdbcDatabase).ToString(), StringComparison.OrdinalIgnoreCase))
{
rc = new OdbcDatabase();
}
else
{
string[] parts = PluginType.Split(',');
Expand Down

0 comments on commit 13ffbef

Please sign in to comment.