not sure what you mean by "custom operation", if you're catching conflicts, you'll get notified when one happens. it's up to you what you want to do: resolve using the pre-defined conflict resolution in Sync Fx or fire up your own database operations/custom logic.
Sync Orchestrator define custom operations
-
27-06-2022 - |
문제
i'm starting a research about .Net Sync Framework and now i'm triyng to define custom operations to handle conflits.
I'm using a Sync Orchestrator to control the sync session and at the moment i catch all the conflicts, so How to define a custom operation to execute on a conflit detection ? the following aproach is correct ?
if (e.Conflict.Type == DbConflictType.LocalInsertRemoteInsert)
{
//Set a connection to DB
//Call a Stored Proc.
}
and in this case, i dont use the standard conflict resolution from Sync Framework like:
e.Action = ApplyAction.Continue;
Ps: Im using Sync Framework 2.1 and C# language
해결책
제휴하지 않습니다 StackOverflow