C#操作mongodb时,find无法序列号报错

public  class drgs_report_data
    {
        public ObjectId _id;
        public string reportContent{ get; set; }
       // public object reportContent { get { return string.Empty; } set { reportContent = string.Empty; } }
        public string _class { get; set; }
        public Int64 diseaseId { get; set; }   
        public int caseId { get; set; }
        public DateTime auditTime { get; set; }  //
        public string bigDepartment { get; set; }  
        public string chargeDoctor{ get; set; }
        public DateTime createTime { get; set; }  //
        public int dataState { get; set; }
        public DateTime dataTime { get; set; }//
}
public List<T> FindAllMore<T>() 
        {
            List<T> list = new List<T>();
            try
            {

                list = this._db.GetCollection(typeof(T).Name).FindAllAs<T>().ToList();//执行这里的时候异常了
            }
            catch (Exception ex)
            {

            }
            return list;
        }

异常信息如下:reportContent 这个字段string 的不能序列号,,请问这个要怎么改??
An error occurred while deserializing the reportContent property of class MongodbHelper.Model.drgs_report_data: Cannot deserialize string from BsonType Document.

BSON是用于在MongoDB中存储文档和进行远程过程调用的二进制序列化格式


public string reportContent{ get; set; }
改为
public byte[] reportContent{ get; set; }

试试

你这个是无法序列化数据 string reportContent 你看下你reportContent 这个字段对应存储的内容是对象还是字符串