Table of Contents

Class RetryableInsertCommandOperation<TDocument>

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Represents an insert command operation.

public class RetryableInsertCommandOperation<TDocument> : RetryableWriteCommandOperationBase, IWriteOperation<BsonDocument>, IRetryableWriteOperation<BsonDocument>, IExecutableInRetryableWriteContext<BsonDocument> where TDocument : class

Type Parameters

TDocument

The type of the document.

Inheritance
RetryableInsertCommandOperation<TDocument>
Implements
Inherited Members
Extension Methods

Constructors

RetryableInsertCommandOperation(CollectionNamespace, BatchableSource<TDocument>, IBsonSerializer<TDocument>, MessageEncoderSettings)

Initializes a new instance of the RetryableInsertCommandOperation<TDocument> class.

Properties

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

CollectionNamespace

Gets the collection namespace.

DocumentSerializer

Gets the document serializer.

Documents

Gets the documents.

Methods

CreateCommand(ICoreSessionHandle, int, long?)

Creates the command.

CreateCommandPayloads(IChannelHandle, int)

Creates the command payloads.