Closed MovGP0 closed 7 years ago
@MovGP0 optimistic concurrency requires RequestOptions.AccessCondition.
@kirankumarkolli albeit your information is very useful, the question was a different one: how to keep the ETag
when casting to a specific type.
The solution I have is to derive the POCO objects from the Microsoft.Azure.Documents.Resource
class.
I am wondering what the best way to patch an document is, when I want to preserve the
ETag
:Version 1
Version 2