Setting Up Your C# Exposure Options
You can define multiple C# exposures for a schema.
The Define Exposure sheet of the C# Exposure Wizard enables you to first define the name and source schema or superschemas of your new C# exposure.
To specify your C# exposure options
-
In the Exposure Name text box, specify the name of your new C# exposure.
The C# exposure definition name must be unique to the schema in which it is defined. The name must not already exist, can contain numeric characters, but cannot contain spaces. JADE converts the first character to uppercase, if required.
-
Select the Superschemas Up To option button if you do not want your C# exposure to be generated from classes in the current schema only. In the drop-down list of the Select top most Schema combo box, select the highest superschema in the hierarchy whose objects are also to be available for selection.
-
In the NameSpace (Exposure Name is used if empty) text box, specify the name of the namespace that you require for your generated C# if you want it to differ from the name of the exposure. The namespace can contain only the characters a through z, A through Z, 0 through 9, a period character (.), and an underscore character (_).
When this text box receives focus and the text box is empty, the text is set to the name of the C# exposure and the entire text is selected. If the text box is empty, the C# exposure name is used to generate the:
-
Namespace in the files
-
Name of the project file
-
Name of the config file
If this text box is not empty, the specified namespace text is used to generate these entities.
-
The exposure name can be 100 characters in length only, and the namespace name can be any length.
As the value of the NameSpace (exposure name is used if empty) text box is not currently retained between initiations of the exposure wizard, you must specify it each time. (This may be implemented in a future major JADE release.)