I have a Business Domain Model, that has the classes, with their attributes and relationships.
I can use Ribbon - Design - Tools - Transform - Apply Transformation. This creates or synchronizes database tables in a Database model in the EA project.
I need to make some changes to how EA transforms the classes to the database tables. I have been able to make several changes in the Transformation scripts for the DDL language, but there are a couple things I do not see how to accomplish.
1) How do I set a default value for the Owner value in created database tables? E.g., in the properties for the database table, choose Table Detail tab, and see the Owner field. I want the default Owner for all tables to be "dbo".
2) How do I change the Transform template scripts so that, in the generated database table, the PK column will be first, followed by any FK columns, lastly followed by the columns created from the attributes of the source class? I tried editing the Class script to move the Primary Key code before the line with %list="Attribute" @separator="\n" @indent=" "%, but it had no effect.
Is there somewhere that I can find documentation for all destination-class tags that are supported by EA? For example, I should be able to find documentation for whatever code I need to include in my Transformation DDL script to set the Owner tag for the destination database table.
Thanks.