ReplaceOneModel<TDocument> Class |
Namespace: MongoDB.Driver
[SerializableAttribute] public sealed class ReplaceOneModel<TDocument> : WriteModel<TDocument>
The ReplaceOneModel< TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReplaceOneModel<TDocument> |
Initializes a new instance of the ReplaceOneModel< TDocument> class.
|
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 | |
---|---|---|
![]() | 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 WriteModel<TDocument>.ModelType.) |
![]() | Replacement |
Gets the replacement.
|
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant