Modeling a C# namespace in a model (C# code)
A C# namespace is modeled through a Modeler Package.
To model a C# namespace in a model:
1. In the model, right-click the Model or Package that represents the parent folder or namespace of the namespace you want to create, point to New, and then click Package.
2. Type the name of the namespace.
3. Open the Package's Property Pages, and then click the Options tab.
4. Select the Namespace option.
5. If you want to specify C# specific information, that is, using directives, extern alias directives or optionally not generating a folder for the Package:
a. Apply the «C# Package» stereotype to the Package.
b. On the Package's Property Pages, click the C# Package tab.
c. Set the tagged values of the Tag Definitions as required.
For more information about the available Tag Definitions, click here
Package mapping