C# 2.0 Compilation Units

By default, PowerDesigner generates one source file for each class, interface, delegate, or other type, and bases the source directory structure on the namespaces defined in the model.

You may want instead to group multiple classifiers in a single source file and/or construct a directory structure independent of your namespaces.

A compilation-unit allows you to group multiple types in a single source file. It consists of zero or more using-directives followed by zero or more global-attributes followed by zero or more namespace-member-declarations. PowerDesigner models C# compilation units as artifacts with a stereotype of <<Source>> and allows you to construct a hierarchy of source directories using folders.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com