Table of Contents

Class ExpressionSetFieldDefinitions<TDocument, TFields>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A subclass of SetFieldDefinition that uses an Expression to define the fields to be set.

public sealed class ExpressionSetFieldDefinitions<TDocument, TFields> : SetFieldDefinitions<TDocument>

Type Parameters

TDocument

The type of the document.

TFields

The type of object specifying the fields to set.

Inheritance
ExpressionSetFieldDefinitions<TDocument, TFields>
Inherited Members

Constructors

ExpressionSetFieldDefinitions(Expression<Func<TDocument, TFields>>)

Initializes an instance of ExpressionSetFieldDefinitions.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the set field definitions.