GetUploadedTables method

Syntax
UploadedTableData[ ] GetUploadedTables();
Remarks

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.

Returns

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

Example

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();

  //...
}