更新文档(.NET)
DocumentDB 支持使用 DocumentClient
类的 ReplaceDocumentAsync
方法替换 JSON 文档。
await client.ReplaceDocumentAsync(UriFactory.CreateDocumentUri(databaseName, collectionName, familyName), updatedFamily);
DocumentDB 支持使用 DocumentClient
类的 ReplaceDocumentAsync
方法替换 JSON 文档。
await client.ReplaceDocumentAsync(UriFactory.CreateDocumentUri(databaseName, collectionName, familyName), updatedFamily);