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

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

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