Multi master conflict generation and resolution samples for Gremlin API in .NET
The sample assumes that
- You have a Cosmos DB Graph Account created with Mult-master enabled.
- You have database and a grph created.
- The Graph has "Last Writer Wins" as Conflict Resolution Mode, with '/_ts' as Conflict Resolver Property
The only dependency is the Gremlin.Net driver, which you can install with the following instructions:
Using .NET CLI:
dotnet add package Gremlin.Net
Using Powershell Package Manager:
For .NET CORE use the
nuget install Gremlin.Net