Create a data model with a single record

In this procedure, you create a Data Model diagram (.4rdj) containing a single record (data set).

Before you begin, add a meta-schema file to your database project.
Using the New Record Wizard, along with the database meta-schema file, you can create a Data Model diagram (.4rdj).
Tip: While you can create a Data Model containing multiple records, for performance reasons it is recommended that you try to keep your Data Models to a single record.
  1. Select File > New.
  2. Select a language: Java, C#, PHP, or Swift.
  3. Select Report Data from Database (.4rdj) and click OK.
    The Column selection wizard appears.
  4. Select the columns for your business record, and click Next to continue.
    For more details on completing the Column selection page, see The New Record Wizard: Column selection.
  5. Edit the query as required, and click Finish.
    For more details on completing the Edit Query page, see The New Record Wizard: Edit Query.
    The Data Model appears in the central workspace, untitled and with a .4rdj extension.
  6. Save the Data Model (.4rdj) in the DataSourceLib library node.
  7. Right-click the DataSourceLib library node and select Build.
    Files are generated and saved in the Intermediate Files virtual folder. These files are the data schema file (.xsd) and the language-specific source files that comprise the library files to include in your bespoke applications.