Table of Contents

Class SetFieldDefinitionsBuilder<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A builder for SetFieldDefinitions.

public class SetFieldDefinitionsBuilder<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SetFieldDefinitionsBuilder<TDocument>
Inherited Members

Methods

Set<TField>(FieldDefinition<TDocument, TField>, TField)

Set a field to a value using a constant.

Set<TField>(Expression<Func<TDocument, TField>>, TField)

Set a field to a value using an expression to specify the field and a constant to specify the value.