2
我想要實現使用MS同步框架和SqliteClientSyncProvider客戶端(SQLite的)&服務器(SQL Server)的同步應用程序(http://sourceforge.net/projects/sqliteclientsyn/)在客戶端和服務器同步場景中實現SqliteClientSyncProvider?
syncOrchestrator = new SyncOrchestrator();
syncOrchestrator.LocalProvider = new SqliteClientSyncProvider(clientSqlConn);
syncOrchestrator.RemoteProvider = new SqlSyncProvider("filtered_customer", serverConn, null, "Sync");
syncOrchestrator.Direction = SyncDirectionOrder.UploadAndDownload;
syncStats = syncOrchestrator.Synchronize();
後同步()執行一個有一個InvalidCastExcpetion:
InvalidCastExcpetion : Microsoft.Synchronisation.KnowledgeSyncProvider
有什麼建議嗎?