The purpose of the C# Transformation is to convert Platform-Independent Model (PIM) elements to language-specific C# class elements. The transformation converts the PIM model types to C# types and creates encapsulation according to Enterprise Architect's options for creating properties from C# attributes according to the rules you have defined.
To set the code generation options for C# code generation, select the Tools | Options | Source Code Engineering | C# menu option to display the C# Specifications page.
Our PIM:
Then becomes: