更新时间:2023-09-10 10:48:28
我知道了.我要做的就是注册Dependent类,它的工作方式与
I figured this out. All I had to do was to register the Dependent class and it works as in
BsonClassMap.RegisterClassMap<Dependent>();
使用官方C#驱动程序序列化/反序列化MongoDB Bson文档