Operator implicit operator
implicit operator UpdateDefinition<TDocument>(BsonDocument)
Performs an implicit conversion from Bson
Parameters
document
BsonDocument The document.
Returns
- Update
Definition <TDocument> The result of the conversion.
implicit operator UpdateDefinition<TDocument>(string)
Performs an implicit conversion from string to UpdateDefinition<TDocument>.
Parameters
json
stringThe JSON string.
Returns
- Update
Definition <TDocument> The result of the conversion.
implicit operator UpdateDefinition<TDocument>(PipelineDefinition<TDocument, TDocument>)
Performs an implicit conversion from PipelineDefinition<TInput, TOutput> to UpdateDefinition<TDocument>.
public static implicit operator UpdateDefinition<TDocument>(PipelineDefinition<TDocument, TDocument> pipeline)
Parameters
pipeline
PipelineDefinition <TDocument, TDocument>The pipeline.
Returns
- Update
Definition <TDocument> The result of the conversion.