UpdateOneModelTDocument Class |
Namespace: MongoDB.Driver
[SerializableAttribute] public sealed class UpdateOneModel<TDocument> : WriteModel<TDocument>
The UpdateOneModelTDocument type exposes the following members.
Name | Description | |
---|---|---|
UpdateOneModelTDocument |
Initializes a new instance of the UpdateOneModelTDocument class.
|
Name | Description | |
---|---|---|
ArrayFilters |
Gets or sets the array filters.
| |
Collation |
Gets or sets the collation.
| |
Filter |
Gets the filter.
| |
IsUpsert |
Gets or sets a value indicating whether to insert the document if it doesn't already exist.
| |
ModelType |
Gets the type of the model.
(Overrides WriteModelTDocumentModelType.) | |
Update |
Gets the update.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |