Class InsertRequest
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a request to insert a document.
[Obsolete("This class will be made internal in a later release.")]
public sealed class InsertRequest : WriteRequest
- Inheritance
-
InsertRequest
- Inherited Members
Constructors
- InsertRequest(BsonDocument)
Initializes a new instance of the InsertRequest class.
Properties
- Document
Gets or sets the document.
Methods
- IsRetryable(ConnectionDescription)
Determines whether the request is retryable on a given connection.