Author Topic: Custom Code Generation Templates  (Read 1760 times)

YentheO

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Custom Code Generation Templates
« on: February 16, 2012, 12:42:50 am »
Hi,

I'm trying to reproduce the DDL generation of tables with a custom code generation template. I am unable to figure out how to generate field types with a specific length.

%attName% %attType% %attLength ? (attLength) : ""% %attAllowDuplicates == "T" ? "NOT NULL" : "NULL"%

Can someone please help me to generate the right values between the parenthesis.

Thanks in advance!