How to retrive the new Mongo ID after InsertOne() without using the [BsonId] attribute?

后端 未结 0 895
野趣味
野趣味 2020-12-16 03:19

I understand that in C# I can use the BsonIdAttribute to signal a property in the model that receives the new ObjectId of a newly inserted document. However, i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题