Constructor UpdateOneModel
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.