mongodb "Element '{0}' does not match any field or property of class" 异常的解决方法

在序列化的对象上增加 [BsonIgnoreExtraElements]

posted on 2014-05-05 18:31  yahle  阅读(3200)  评论(0)    收藏  举报