sql server - MS Sync Framework overwrite/ignore new insert from different users? -


i implemented sql server sync program using sync2.1 framework. supposed used multiple users: 1) master db installed on server myserver.com; 2) each user provisioned using same schema , scope; 3) user sync server, no change. 4) user b sync server, no change. 5) user b makes changes, sync server, shows 1 change upload , 0 change download; 6) now, if use make changes, sync server, shows 1 change upload, xxxxxx changes download, xxxxxx big #.

i thought after step #4, no matter sync database, changes uploaded or downloaded. looks after user sync, if there user sync, when 1st user sync again, download entire database changes again.

is normal? can cause this? or, maybe sync supposed used 1 user only? or, different users should use different schemas?

furthermore, in db, has table 'location', has column locationid (pk), , auto int. there table 'client', has column 'locationid' pointing location table, , has clientid column (pk). now, user work on local db, insert new location locationid = 100, , insert new client, clientid = 123. user sync server. before that, user b work on local db, insert new location locationid = 100, , insert new client, clientid = 123. now, if user b sync server, thought on server, have 2 new rows, 1 row user , 1 row user b since there 2 inserts. however, has 1 new row, locationid = 100, , clientid = 123. supposed be? because after user , b insert on local db, have new row locationid = 100 pk?

thanks


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -