I am trying to store / read dynamic content in MongoDB. I found a built in document type called BsonDocument to use it for such a purpose.
However, I don't want to return from my repository BsonDocument type since it has some dependecies to MongoDB libraries.
What's the best alternative for this requirements? Should I use a Dictionary<string, object> or my own record type?