[英]How can I synchronize 2 tables in same database by using sync framework?
I have really strange problem. 我有一个很奇怪的问题。 I have been trying to synchronize 2 tables but they are localized in same db.
我一直在尝试同步2个表,但是它们被本地化在同一数据库中。 It is easy if you have 2 tables and 2 database (ClientDb and ServerDb).
如果您有2个表和2个数据库(ClientDb和ServerDb),这很容易。 I don't have a ClientDb.
我没有ClientDb。 But i have 2 tables.
但是我有2张桌子。 If you have 2 tables(they should be compared) in same database,Sync is not working in the same db.
如果您在同一数据库中有2个表(它们应该进行比较),则Sync无法在同一数据库中工作。 How can I solve this problem?
我怎么解决这个问题?
you can sync tables using Sync Fx even if they're on the same database. 您可以使用Sync Fx同步表,即使它们位于同一数据库中也是如此。 nothing fancy about it, just point the sync providers connection strings to the same database.
没什么好看的,只需将同步提供程序连接字符串指向同一数据库即可。 fyi, Sync Fx don't compare tables
fyi,Sync Fx不比较表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.