Class JsonUpdateDefinition

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

A JSON string based update.

public sealed class JsonUpdateDefinition<TDocument> : UpdateDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

JsonUpdateDefinition

Inherited Members

Extension Methods

Constructors

JsonUpdateDefinition(string)

Initializes a new instance of the JsonUpdateDefinition class.

Properties

Json

Gets the json.

Methods

Render(RenderArgs)

Renders the update to a BsonValue.