Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C# code > C# profile package > Adding the C# profile package to a model (C# code)
  
Adding the C# profile package to a model (C# code)
* 
To add the C# profile to a model, you require Database Write access permissions to the Model's Database.
Do not make changes to the C# profile. Any changes you make will be lost when the profile is updated.
Note that you can create Tag Definitions outside of the C# profile, and link those Tag Definitions to Stereotypes in the C# profile. When the C# profile is updated, the links will not be broken.
Do not create copies of the C# profile within a model, or create copies of the C# profile through XMI Import/Export. The copies of the C# profile will not work correctly and you will not be able to update the copies through the Update All Profiles command.
To add the C# Profile package to a model:
1. From Modeler, open the Model to which you want to add the C# Code Profile package.
2. On the Tools menu, click Add Profile.
3. Select the C# entry, and then click OK.
The C# Profile package is created in the Model as a protected Package, as indicated by the gray icon.