Lesson 2: Creating a MobiLink project

This lesson assumes you have completed all preceding lessons. See Lesson 1: Compiling the CustdbScripts.dll assembly with MobiLink references.

In this lesson, you connect to the consolidated database by creating a new MobiLink project.

 Create a new MobiLink project
  1. Click Start » Programs » SQL Anywhere 12 » Administration Tools » Sybase Central.

  2. Click Tools » MobiLink 12 » New Project.

  3. In the Name field, type mldotnet_project.

  4. In the Location field, type C:\mldotnet, and click Next.

  5. Choose the Add A Consolidated Database To The Project option.

  6. In the Database Display Name field, type mldotnet_db.

  7. Click Edit. The Connect To A Generic ODBC Database window appears.

  8. In the ODBC Data Source name field, click Browse, and select SQL Anywhere 12 CustDB.

  9. Click OK, and click Save.

  10. Click Finish.

  11. Click OK.

  12. Proceed to Lesson 3: Subscribing a script to the upload_insert event.