I setup some filters on remote provider so that I don’t download everything. Now I would like to setup some filters on the client end, so I don’t upload everything.
I am using the local database cache objects in c#
How can I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
afaik, there is no out-of-the-box support for adding a filter to the SqlCeClientSyncProvider.
if you want, you can try intercepting the dataset in the ChangesSelected event and filter out rows you dont want to sync to the server.
have a look at a similar approach here: http://jtabadero.wordpress.com/2011/03/07/manipulating-the-change-dataset-in-sync-fx/