IMongoQuery query = Query.EQ("_id", new ObjectId(bsonAuthor.AuthorAuid));
BsonElement id = new BsonElement("id", "1");
BsonElement name = new BsonElement("name", "beijin");
BsonDocument bson = new BsonDocument(id, name);
IMongoUpdate update = Update.AddToSet("organization", bson);
bool b = GetCollection().Update(query, update).Ok;
return b;
更新完得到的结果
"organization" : [ { "id" : "1", "name" : "beijin" } ] }