Class ListSetFieldDefinitionsExtensions
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
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, FieldDefinition<TDocument, TField>, TField)
Set an additional field to value using a constant.
Set<TDocument, TField>(ListSetFieldDefinitions, 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.