MongoDB: Editing Element In Array -
i wanting edit element might exist in multiple arrays in collection. public class class { [bsonid] public guid id { get; set;} public string name {get; set;} public list<student> students {get; set;} } public class student { [bsonid] public guid id {get; set;} public string name {get; set;} public string grade {get; set;} } then class collection like { "_id" : nuuid("..."), "name" : "computer science", "students" : [ { "_id" : nuuid("..."), "name" : "chris" "grade" : "a" }, { "_id" : nuuid("..."), "name" : "bob" "grade" : "b" } } and student collection like { "_id" : nuuid("..."), "name" : "chris eastwood" "grade": &qu