Table of Contents

Class SetFieldDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A definition of a single field to be set.

public abstract class SetFieldDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SetFieldDefinition<TDocument>
Derived
Inherited Members

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the SetFieldDefinition.

public abstract BsonElement Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)

Parameters

documentSerializer IBsonSerializer<TDocument>

The document serializer.

serializerRegistry IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The linq provider.

Returns

BsonElement

The rendered SetFieldDefinition.