0
我试图从Azure的功能中写入以下文件DocumentDb:Text属性没有序列号
dynamic doc = new {
customer = "mycust",
version = "version2",
document = JObject.Parse("{\"prop1\": \"Some text.\"}")
}
await
_client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri("db", "coll"),doc);
当保存到documentdb我得到:
{
"customer": "mycust",
"version": "version2",
"document": {
"prop1": []
},
"id": "93ccb6d6-8829-4179-beba-606078f63dea"
}
“一些文本”是失踪。在调试器中,它被正确解析。