Click or drag to resize

UpdateRequest Constructor

Initializes a new instance of the UpdateRequest class.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public UpdateRequest(
	UpdateType updateType,
	BsonDocument filter,
	BsonDocument update
)

Parameters

updateType
Type: MongoDB.Driver.Core.OperationsUpdateType
The update type.
filter
Type: MongoDB.BsonBsonDocument
The filter.
update
Type: MongoDB.BsonBsonDocument
The update.
See Also