Table of Contents

Class MongoUpdate

Namespace
MongoDB.EntityFrameworkCore.Storage
Assembly
MongoDB.EntityFrameworkCore.dll

Represents an update to a MongoDB database by specifying the collection name and the appropriate document inside a MongoDB.Driver.WriteModel<TDocument> which indicates the type of operation.

public class MongoUpdate
Inheritance
MongoUpdate
Inherited Members

Constructors

MongoUpdate(string, WriteModel<BsonDocument>)

Represents an update to a MongoDB database by specifying the collection name and the appropriate document inside a MongoDB.Driver.WriteModel<TDocument> which indicates the type of operation.

Properties

CollectionName

The name of the collection this update applies to.

Model

The MongoDB.Driver.WriteModel<TDocument> that contains both the document being modified and indication of the type of update being performed.

Methods

CreateAll(IEnumerable<IUpdateEntry>)

Create a enumeration of MongoUpdate from an enumeration of EF-supplied IUpdateEntry.