Represents serialization options for a document.
Наследование: IBsonSerializationOptions
        public static void Update(Student student)
        {
            var option = new DocumentSerializationOptions(false);
            option.SerializeIdFirst = false;

            collection.Update(new QueryDocument { { "_id", student.Id } },
                new UpdateDocument { { "$set",
                                         new BsonDocument {
                                         {"StuNo", student.StuNo },
                                         {"Name", student.Name},
                                         {"Major", student.Major},
                                         {"Class", student.Class}}
                                         }});
        }