I have some C# code which uses the old 1.x version of MongoDB driver which offers a generic save method using the MongoCollection.Save()
method. However after upgrading to 2.0 this method appears to be gone and replaced with an Update method which requires all the updated fields on the object to be specified (which is obviously no good for a generic method...)
How do I keep the functionality of the old Save method (ie just pass in an object to update all fields) in the 2.0 driver?