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 | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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.) |
Name | Description | |
---|---|---|
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.
|