UpdateRequest Class (original) (raw)

Represents a request to update one or more documents.

Inheritance Hierarchy

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public sealed class UpdateRequest : WriteRequest

Public NotInheritable Class UpdateRequest Inherits WriteRequest

[] type UpdateRequest =
class inherit WriteRequest end

The UpdateRequest type exposes the following members.

Constructors

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------ | | Public method | UpdateRequest | Initializes a new instance of the UpdateRequest class. |

Top

Properties

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | Public property | ArrayFilters | Gets or sets the array filters. | | Public property | Collation | Gets or sets the collation. | | Public property | CorrelationId | Gets or sets the correlation identifier. (Inherited from WriteRequest.) | | Public property | Filter | Gets the filter. | | Public property | IsMulti | Gets or sets a value indicating whether this update should affect all matching documents. | | Public property | IsUpsert | Gets or sets a value indicating whether a document should be inserted if no matching document is found. | | Public property | RequestType | Gets the request type. (Inherited from WriteRequest.) | | Public property | Update | Gets the update specification. | | Public property | UpdateType | Gets the update type. |

Top

Methods

Extension Methods

See Also

Reference