Ejemplo n.º 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);
            }
        }
Ejemplo n.º 2
0
 public TempUpsertTableBuilder(string tableName, PublicTable publicTable)
 {
     AddTable(new Table(tableName, publicTable));
 }