DatabaseBuilder orders the table columns: primary key columns first, in the order they appear in the key, followed by other columns ordered by name using InvariantCulture, case sensitive, followed by foreign key columns in the order they appear in the foreign keys, excluding duplicates (fk1.C1, fk1.C2, fk2.C3, ...).