Table of Contents

Class UpdateDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for updates.

public abstract class UpdateDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
UpdateDefinition<TDocument>
Derived
Inherited Members
Extension Methods

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)

Renders the update to a BsonValue.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the update to a BsonValue.

Render(RenderArgs<TDocument>)

Renders the update to a BsonValue.

Operators

implicit operator UpdateDefinition<TDocument>(BsonDocument)

Performs an implicit conversion from BsonDocument to UpdateDefinition<TDocument>.

implicit operator UpdateDefinition<TDocument>(PipelineDefinition<TDocument, TDocument>)

Performs an implicit conversion from PipelineDefinition<TInput, TOutput> to UpdateDefinition<TDocument>.

implicit operator UpdateDefinition<TDocument>(string)

Performs an implicit conversion from string to UpdateDefinition<TDocument>.