Creating synchronization models

 Set up a MobiLink application with the Create Synchronization Model Wizard
  1. Use the MobiLink plug-in to create a MobiLink project for your consolidated database if you have not already created one.

    See Creating a MobiLink project.

  2. In the left pane of Sybase Central, expand your MobiLink project name, and then click Synchronization Models.

  3. From the File menu, choose New » Synchronization Model to start the Create Synchronization Model Wizard.

  4. From the Welcome page, choose a name for your synchronization model. Your model is stored as a .mlsm file in the project directory. Click Next.

  5. On the Primary Key Requirements page, select the three checkboxes and then click Next. For more information about primary keys, see Maintaining unique primary keys.

  6. On the Consolidated Database Schema page, select the consolidated database for obtaining your consolidated database schema from the list, and then click Next. the schema from the consolidated database is loaded.

    If you chose an Oracle database, you may be prompted to choose a subset of owners because loading schema for all owners can take a long time.

  7. The Remote Database Schema page appears. You can create your remote database schema based on the consolidated database schema or an existing remote database. The existing remote database can be SQL Anywhere or UltraLite. For help deciding, see Remote schemas.

  8. Follow the remaining instructions in the Create Synchronization Model Wizard. Default recommendations based on best practices are used where possible.

  9. Click Finish.

    When you click Finish the synchronization model is opened in the left pane of Sybase Central. You are now working offline and you can make changes to the model. No changes are made outside the model until you deploy the model: the consolidated database does not change and the remote database is not created or changed until that time. See Synchronization model tasks and Deploying synchronization models.

 Remote schemas
 See also