Beispiel #1
0
        private void AddTables()
        {
            // use reflection to find all PublicTable derivatives...
            var tableTypes = GetTableTypes();

            // create an instance of each table and add to the table builder...
            foreach (var tableType in tableTypes)
            {
                PublicTable t = (PublicTable)Activator.CreateInstance(tableType);
                AddTable(t);
            }
        }
 public TempUpsertTableBuilder(string tableName, PublicTable publicTable)
 {
     AddTable(new Table(tableName, publicTable));
 }