Generating C# Object API Code

Generate Object API code for Windows Mobile devices.

Prerequisites
  1. Connect to both the sampledb database and Unwired Server. Code generation fails if the server-side (run-time) enterprise information system (EIS) data sources referenced by the MBOs in the project are not running and available to connect to when you generate object API code.
  2. Switch to the Advanced developer profile to see advanced options in Unwired WorkSpace.
You must be
Task
  1. Right-click the SUP101 Mobile Application Diagram and select Generate Code.
  2. Select Continue without a configuration, and click Next.
  3. Select the Customer MBO, then click Next.
  4. Enter the information for these configuration options:
    Option Description
    Language Select C#.
    Platform Select NET Compact Framework 3.5 for Windows Mobile.
    Unwired Server Select My Unwired Server.
    Server domain Select default.
    Page size Leave blank.
    Namespace Enter SUP101.
    Destination Accept the default.

    The default location for generated code is \SUP101\Generated Code.

    Replication-based This tutorial uses Replication-based synchronization.
  5. Click Finish.