Extracting and Loading .NET Schema Definition Data

You can extract or load a .NET library as part of the schema into which it is imported or you can extract only the .NET library itself. Generated classes, methods, properties, and constants are extracted as part of a full schema extraction.

As no persistent instances of .NET objects are created, no instance data is extracted or loaded. .NET controls are treated like all other controls during the extract and load processes.

To extract a .NET library only

  1. In the External Components Browser, select the .NET library that you want to extract.

  2. Select the Extract command from the .NET submenu of the Components menu. The Extract External Component dialog is then displayed. (You can only extract the entire .NET library selected in the current schema.)

  3. In the Schema File Name text box, specify the name and location of the .NET schema file you want to extract; for example, s:\jade\bin\dotnet\SimpleDemo.scm. If you do not specify a location, the file is extracted to your JADE working directory.

    If you want to extract the .NET schema to an existing file or you are unsure of existing extract file names or location, click the Browse button. The common File dialog is then displayed, to enable you to select the appropriate file or location, if required. The file name defaults to the default name assigned by JADE to the .NET library, with a .scm suffix.

  4. In the DDB File Name text box, specify the name and location of the .NET forms file that you want to extract; for example, s:\jade\bin\dotnet\SimpleDemo.ddx. If you do not specify a location, the file is extracted to your JADE working directory.

    If you want to extract the .NET form and control definitions to an existing file or you are unsure of existing extract file names or location, click the Browse button. The common File dialog is then displayed, to enable you to select the appropriate file or location, if required.

    The file name defaults to the default name assigned by JADE to the .NET library, with a .ddb or .ddx suffix, depending on the value of the Use DDX style (xml format) as Default instead of DDB check box on the Schema sheet of the Preferences dialog.

  5. If you want to specify options for your extracted .NET library (for example, to encrypt extracted source or to extract all global constants, external functions, and translatable strings rather than only those that are used), select the Schema Options sheet and select the extract options that you require.

  6. Click the OK button to extract the .NET library selected in the External Components Browser. Alternatively, click the Cancel button to abandon your selections.

When you extract a .NET library, its associated classes, methods, properties, and constants are also extracted.

For details about extracting or loading the .NET library as part of the schema in which it is defined, see "Extracting Your Schema", in Chapter 10.