private Database GetDatabase(IDBConnectionInfo connectionInfo) { var connectionString = ConnectionStringBuilder.GetConnnectionString(connectionInfo); Database db = new Database(connectionString, "System.Data.SqlClient"); return(db); }