-
Hello, I would like to know if it's possible to drop all the scope info, stored procedures and tracking tables on the server via an endpoint. For example. If my server is deployed and syncing has happened between server and client already, is it possible to hit an endpoint that calls the DropAllAsync method on the server DB? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
Mimetis
Apr 12, 2023
Replies: 1 comment 2 replies
-
I moved this to conversation as it's not an issue BTW, you can create your own endpoint and call the You can use this kind of code I guess public SyncController(WebServerAgent webServerAgent, ILogger<SyncController> logger)
{
this.webServerAgent = webServerAgent;
this.logger = logger;
}
[HttpGet("drop")]
public async Task<IActionResult> DropAllAsync()
{
await this.webServerAgent.RemoteOrchestrator.DropAllAsync();
return Ok();
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
TheRyan1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I moved this to conversation as it's not an issue
BTW, you can create your own endpoint and call the
DropAllAsync()
method if you want, independently from DMS:You can use this kind of code I guess