Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pappnas

Pages: [1]
1
Hi,

I want to generate a DDL Schema from UML Class Diagram.
I have the following transformation script for the Table / Primary Key:

Code: [Select]
%if classStereotype=="enumeration"%
%endTemplate%

Table
{
  %TRANSFORM_REFERENCE("Table")%
  %TRANSFORM_CURRENT("language", "stereotype")%
  language=%qt%%genOptDefaultDatabase%%qt%
%list="Attribute" @separator="\n" @indent="  "%
%if elemType != "Association"%
  PrimaryKey
  {
    Column
    {
      name=%qt%Id%qt%
      type=%qt%%CONVERT_TYPE(genOptDefaultDatabase,"Integer")%%qt%
    }
  }
%endIf%
}
%list="Connector" @separator="\n"%
How to set the AutoNum ColumnProperty to "True"?

Regards,
Markus

Pages: [1]