none
SimpleProviders - who prevents duplicates? DuplicateItemInMetadataStoreException RRS feed

  • Question

  • Hi,

    I need to evaluate if we can use sync Framework for our product to synchronize against Exchange web Services.

    to do this, I created a small test application that tries to synchronize lines in text files using a
    FullEnumerationSimpleSyncProvider or a AnchorEnumerationSimpleSyncProvider.

    I do not get how the creation of duplicates is to be prevented:

    do i Need to prevent the Insertion when synchronization occurs by doing something in the InsertItem-Method?

    as it is now, when synching all lines of file 2 are inserted into file 1 resulting in a DuplicateItemInMetadataStoreException.

    I thought that I provide the ID-mechanism to let the synch Framework figure out which lines are already there and which ones aren't.

    Does a StandardProvider remove this Problem?


    I would be really happy for any Kind of help.
    Thanks in advance,


    Alex

    Friday, September 12, 2014 2:38 PM