Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in .NET » MobiLink server API for .NET reference » UploadData interface


GetUploadedTables method

UploadedTableData[ ] GetUploadedTables();

Gets an array of all the uploaded table data in this uploaded transaction. The order to the tables in the array is the same order that MobiLink uses for SQL row handling, and is the optimal order for preventing referential integrity violations. If your data source is a relational database, use this table order.


An array of uploaded table data. The order of tables in the array is the same as the upload order of the client.


Assume you use a method called HandleUpload for the handle_UploadData synchronization event. The following example uses the GetUploadedTables method to return UploadedTableData instances for the current upload transaction.

// The method used for the handle_UploadData event.
public void HandleUpload(UploadData ud) {
    UploadedTableData[] tables = ud.GetUploadedTables();