DeleteOneModelTDocument Class |
Namespace: MongoDB.Driver
[SerializableAttribute] public sealed class DeleteOneModel<TDocument> : WriteModel<TDocument>
The DeleteOneModelTDocument type exposes the following members.
Name | Description | |
---|---|---|
DeleteOneModelTDocument |
Initializes a new instance of the DeleteOneModelTDocument class.
|
Name | Description | |
---|---|---|
Collation |
Gets or sets the collation.
| |
Filter |
Gets the filter.
| |
Hint |
Gets or sets the hint.
| |
ModelType |
Gets the type of the model.
(Overrides WriteModelTDocumentModelType.) |
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.) | |
ThrowIfNotValid |
Validate model.
(Inherited from WriteModelTDocument.) | |
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.) |