I can't retrieve results from MongoDB because I have declared a class that should reflect data structure in the database, but it is not accurate. There is no way for me to be sure how the data is structured (the structure is loose).
Can I somehow override this behavior and return results as they are in the database rather than trying (and failing) to fit the structure into my class?
Here's what I use, it will allow documents with different or missing fields to be parsed. You probably need to do a lot of null checking as you can't expect all fields have content anymore, but that probably goes without saying.
[BsonIgnoreExtraElements]
public class MongoClass
{
...
}