You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am experiencing an issue with updating the scope info using the Dotmim.Sync library. I am using ASP.NET Core Web Proxy with change tracking in SQL Server.
Expected Behavior:
Calling DeprovisionAsync should remove the scope info, and ProvisionAsync with overwrite set to true should refresh and update the scope info as documented.
Actual Behavior:
The call to DeprovisionAsync does not remove the scope info.
The call to ProvisionAsync with overwrite set to true retains the old scope info instead of refreshing it.
Additional Context:
Dotmim.Sync Version: 1.0.2
Any assistance in resolving this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
IF you want to recreate a scope, you don't have to explicitly create it, just call a ProvisionAsync that will:
Create the scope
Create all the metadatas required (stored procedures; triggers, scope info row etc...)
// Create a new setup for a new scope:varnewSetup=new SyncSetup("Customer","CustomerAddress");// Provision will create everything needed for this scope and will return the new scopevarnewScopeInfo=await remoteOrchestrator.ProvisionAsync("CustomerScope", newSetup);
And finally, if you just want to overwrite an existing scope (without deleting it before) you can use the overwrite thing:
// Create a new setup for a new scope:varnewSetup=new SyncSetup("Address","Customer","CustomerAddress");// Provision will create everything needed for this scope and will return the new scopevarnewScopeInfo=await remoteOrchestrator.ProvisionAsync("CustomerScope", newSetup, overwrite:true);
Description:
I am experiencing an issue with updating the scope info using the Dotmim.Sync library. I am using ASP.NET Core Web Proxy with change tracking in SQL Server.
Steps to Reproduce:
Expected Behavior:
Calling
DeprovisionAsync
should remove the scope info, andProvisionAsync
withoverwrite
set totrue
should refresh and update the scope info as documented.Actual Behavior:
DeprovisionAsync
does not remove the scope info.ProvisionAsync
withoverwrite
set totrue
retains the old scope info instead of refreshing it.Additional Context:
Any assistance in resolving this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: