Hi,
I have posted before about my situation....I am trying to sync databases with different schemas, but related data. And I have written a custom provider that sucessfully does this.
The problem I have now is that in one of the databases (call it Source)the IDs are stored 1, 2, 3 etc....per row in the table, but in the other database (call it Destination) they are stored in the name of the database in front of the Items such as A1, A2,
A3. What I want to do is store Metadata in the Source with SyncIDs of 1,2,3 etc and in the Destination as SyncIDs A1,A2,A3 etc. In the GetSyncBatchParameters() method, where the Destination is asked for its Knowledge, I want to do some sort of mapping between
the Destination SyncIDs and convert them to the format the Source understands.
I really do not want to implement my own metadata store, preferring to use the default SQL Metadata Store and SQLSyncProvider one on the Client side, and only use a Custom Provider and the CE Metadata store on the Destination.
If I knew more about what the numbers in the ReplicaKeyMap in the SyncKnowledge mean, maybe I could map them, but they are just a series of meaningless numbers to me.
I understand what is going on at a high level, with the Tickcounts and Versions etc, but I don't know how this is represented in the SyncKnowledge.
Any help greatly appreicated!