jjzjj

UpsertDocumentAsync

全部标签

c# - ResourceType 文档在 UpsertDocumentAsync() 时出现意外

我是AzureDocumentDB的新手,在试用时我立即遇到了问题。在空集合中第一次保存时,出现以下错误:ResourceTypeDocumentisunexpected.ActivityId:29619975-e55a-4f31-a3d1-73d180ba3932我的仓库代码(部分)如下:publicinterfaceIEntity{stringId{get;set;}DateTimeDbCreatedAt{get;set;}DateTimeDbLastUpdatedAt{get;set;}}publicclassRepository:IRepositorywhereT:class,