Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
MongoDB
Driver
Collection
Save
MongoDB.Driver.Collection.Save C# (CSharp) Метод
Документация по классу Collection
Показать файл
Открыть проект
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); }
Collection
CheckError
CheckPreviousError
Collection
Count
Delete
Find
FindAll
FindOne
Insert
MapReduce
MapReduceBuilder
Save
Update
UpdateAll