-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
BsonDocuments should be able to be used in LINQ queries for when BsonDocuments are either the root or exposed as properties.
query = Query<BsonDocument>.Where(doc => doc["Name"] == "Bob McBob"); // query = Query<BsonDocument>.Where(doc => doc["Children"][0]["Name"] == "Jack"); // query = Query<BsonDocument>.Where(doc => doc["Children"][0]["Age"] > 20);