Friday, April 20, 2012 2:55 PM
In the sample code which is part of syncframework toolkit, filtering is done with userid. This userid is associated with every table partcipating in sync.
But for our case we are doing sync with respect to our traditional database where userid is not associated with every table participating in sync. This leads to the following problem:
We have user table,order table and orderdetails table. user table has userid,order table has userid as foreign key and orderdetails have orderid as foreignkey. so when we do a sync we are just passing userid as filter parameter. it will lead to retrieve only user and order table datas. we wont be getting order details data as there is no user id to filter out orderdetails.
one solution obviously will be passing orderid as filter parameter. but the drawaback is it wont return all the order details of that user. we need all the order details of that user.
Any solution to this problem is appreciated.
Thanks in advance
- Edited by b_abrams Friday, April 20, 2012 2:56 PM
Wednesday, April 25, 2012 9:30 AM
Find a working example here: Server side logic (sync fx 4)
Thursday, April 26, 2012 8:57 AMThanks for your valuable reply. very much appreciated.