Class ExpressionSetFieldDefinitions<TDocument, TFields>
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
-
SetFieldDefinitions<TDocument>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.