Esempio n. 1
0
        private void parser_RowParsed(string tableName, IDictionary <string, string> columns)
        {
            TableDefinition tableDef = DatabaseDefinition.getTableDefinition(tableName);

            if (tableDef != null && tableDef.readRow(columns))
            {
                Row row = new Row();

                foreach (KeyValuePair <string, string> col in columns)
                {
                    row.addValue(col.Key, col.Value);
                }

                cfgDb.GetTable(tableName).AddRow(row);
            }
        }