Table of Contents

Constructor UpdateOneModel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

UpdateOneModel(FilterDefinition<TDocument>, UpdateDefinition<TDocument>)

Initializes a new instance of the UpdateOneModel<TDocument> class.

public UpdateOneModel(FilterDefinition<TDocument> filter, UpdateDefinition<TDocument> update)

Parameters

filter FilterDefinition<TDocument>

The filter.

update UpdateDefinition<TDocument>

The update.