Book a Demo

Author Topic: C# and XSD transform and code gen  (Read 2867 times)

VGermscheid

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
C# and XSD transform and code gen
« on: September 23, 2010, 08:50:13 pm »
Cross-posted from General Forum.  I'm trying to customize transforms from a base class model to C# partial classes and XML schemas and have two issues:
  • In the C# transformation, the macro "%Property  $name,$type)%" is called from both the Linked Attribute and Attribute__Property templates and appears to be where the Property stereotyped accessor Operations are created.  Is there some way to set the Return Array attribute (and/or add tags to control code generation) on the Operation?
  • Is there any way to ensure that the ordering of elements in the generated schemas matches the order of the elements in the C# model & code?