Skip to content

Reinitialize in a Multi-Scope Setup #1047

Answered by Mimetis
BluePalmTree asked this question in Q&A
Discussion options

You must be logged in to vote

We're using the ChangeTracking-Provider. Is there a way to do this via Dotmim.Sync or do we have to manually do the dropping of the content? If we manually drop the content wouldn't Dotmim try to sync the deleted rows to the server?

Yes.
If you want to do it manually, you need to:

  • ALTER TABLE TABLE1 DISABLE CHANGE_TRACKING;
  • DELETE FROM TABLE1
  • ALTER TABLE TABLE1 ENABLE CHANGE_TRACKING;

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Mimetis
Comment options

@BluePalmTree
Comment options

@Mimetis
Comment options

Answer selected by BluePalmTree
@BluePalmTree
Comment options

@Mimetis
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants