Is it possible to use operators like 'or' , 'and' with the filter params of the sync scopes?


hello want know if there way send parameters in url operators.

i have filter parameter:

 config.addfilterparameterconfiguration("username", "user", "@username", typeof(string));

what want return data of 2 different users. can 1 user this:

http://localhost/syncservicebroca/userscopesyncservice.svc/userscope/downloadchanges?username=luis

is possible use 'or' operator url can return data 2 users?

thanks help...


i think work fine:

<synctable name="users" filterclause="[side].username = @username1 or [side].username = @username2">

but aware: there quite few things stumble upon when designing syncscope filters. important thing understand limitation of syncfx not support "partition realignment", when data changes in filtered columns (see here, here , here).



Microsoft Sync Framework  >  SyncFx – Microsoft Sync Framework Toolkit



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........