public static void OpenDatabase(out MycoKeyCreator.Library.Database.IDatabase iDatabase, bool useDataSource, string dataSource, string host, int port, bool useWindowsAuthentication, string userName, string password, string dbName)
 {
     OpenDatabase(out PetaPoco.NetCore.Database database, useDataSource, dataSource, host, port, useWindowsAuthentication, userName, password, dbName);
     iDatabase = new DatabaseWrapper(database);
     iDatabase.ISqlQueryBuilder = new SqlQueryBuilders.SqlServerQueryBuilder();
 }