Class SetFieldDefinitions<TDocument>
Defines the fields to be set by a $set stage.
public abstract class SetFieldDefinitions<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
SetFieldDefinitions<TDocument>
- Derived
- Inherited Members
Methods
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the set field definitions.
public abstract BsonDocument Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
documentSerializer
IBsonSerializer<TDocument>The document serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe linq provider.
Returns
- BsonDocument
The rendered set field definitions.