C# allows a namespace to be defined so that classes from different origins will not conflict. For example, CA could produce a class named Address. By declaring a namespace name when the class is defined (com.ca.abc), the effective class name becomes com.ca.abc.Address. This effective name would be unique even in the case of another company creating their own class named Address since both companies should have unique namespace names.
Although most situations do not require you to set the .NET namespace name, you may find it useful to do so.
Note: Customers who use CBD techniques must set the .NET Namespace Names in their models.
By convention, the namespace name is the reverse of the company's Internet domain name. For example, www.ca.com would become com.ca.<facility-name>.
Namespace names can be specified at the model and business system levels. If no namespace name is specified at the business system level, the namespace name at the model level is used. If no namespace name is specified at either level, a name is derived. If the generation is taking place on the Workstation, a version of the short model name is used. If the generation is taking place on the CSE, the name used is m<model-id>.
|
Copyright © 2014 CA.
All rights reserved.
|
|