MongoDB.Driver.Collection.Save C# (CSharp) Метод

Save() публичный Метод

Saves a document to the database using an upsert.
The document will contain the _id that is saved to the database. This is really just an alias to Update(Document) to maintain consistency between drivers.
public Save ( Document doc ) : void
doc Document
Результат void
        public void Save(Document doc)
        {
            Update(doc);
        }