Table of Contents

Class ListSetFieldDefinitionsExtensions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Extension methods to add additional set field definitions to an existing instance of ListSetFieldDefinitions.

public static class ListSetFieldDefinitionsExtensions
Inheritance
ListSetFieldDefinitionsExtensions
Inherited Members

Methods

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

Set an additional field to value using a constant.

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

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