public static void InitializeConnections(DatabaseType db) { if (db == DatabaseType.Sql) { //TODO - Set up the SQL connector properly SQLconnector sql = new SQLconnector(); Connection = sql; } else if (db == DatabaseType.TextFile) { //TODO - Create the Text Connection TextConnector text = new TextConnector(); Connection = text; } }
// ************************************************************ // METHODS // ************************************************************ private void LoadReferenceTableInMemory() { _referenceTable = SQLconnector.Reference(); }