79169668

Date: 2024-11-08 10:42:30
Score: 1
Natty:
Report link

This will help to update the specific Property in the cosmosdb.

List<PatchOperation> patchOperations = new List<PatchOperation>()
{
    PatchOperation.Replace("/property2", "newValue2")
};

await container.PatchItemAsync<object>(id, PartitionKey, patchOperations);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TiginMannuel