DbSyncScopeDescription scopeDesc = new DbSyncScopeDescription(string.Format("{0}Scope", tab));
DbSyncTableDescription tableDesc = SqlSyncDescriptionBuilder.GetDescriptionForTable(tab, serverConn);
scopeDesc.Tables.Add(tableDesc);
SqlSyncScopeProvisioning serverProvision = new SqlSyncScopeProvisioning(serverConn, scopeDesc);
serverProvision.SetCreateTableDefault(DbSyncCreationOption.Skip);
serverProvision.Apply();
DbSyncScopeDescription scopeDesc = SqlSyncDescriptionBuilder.GetDescriptionForScope(string.Format("{0}Scope", xNode1[i].InnerText), serverConn);
SqlSyncScopeProvisioning clientProvision = new SqlSyncScopeProvisioning(clientConn, scopeDesc);
clientProvision.SetCreateTableDefault(DbSyncCreationOption.Skip);
clientProvision.Apply();
请教大侠 指点
在服务器表里 删除和新增数据 都可以下载到客户端 但是在服务器端 修改了数据不能同步到客户端