Click or drag to resize

ObjectUpdateDefinitionTDocument Class

An Object based update.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverUpdateDefinitionTDocument
    MongoDB.DriverObjectUpdateDefinitionTDocument

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public sealed class ObjectUpdateDefinition<TDocument> : UpdateDefinition<TDocument>

Type Parameters

TDocument
The type of the document.

The ObjectUpdateDefinitionTDocument type exposes the following members.

Constructors
  NameDescription
Public methodObjectUpdateDefinitionTDocument
Initializes a new instance of the ObjectUpdateDefinitionTDocument class.
Top
Properties
  NameDescription
Public propertyObject
Gets the object.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRender(IBsonSerializerTDocument, IBsonSerializerRegistry)
Renders the update to a BsonValue.
(Inherited from UpdateDefinitionTDocument.)
Public methodRender(IBsonSerializerTDocument, IBsonSerializerRegistry, LinqProvider)
Renders the update to a BsonValue.
(Overrides UpdateDefinitionTDocumentRender(IBsonSerializerTDocument, IBsonSerializerRegistry, LinqProvider).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddToSetTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSetTDocument, TItem(FieldDefinitionTDocument, TItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSetEachTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSetEachTDocument, TItem(FieldDefinitionTDocument, IEnumerableTItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseAndTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise and operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseAndTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise and operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseOrTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise or operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseOrTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise or operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseXorTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise xor operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseXorTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a bitwise xor operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodCurrentDateTDocument(ExpressionFuncTDocument, Object, NullableUpdateDefinitionCurrentDateType)Overloaded.
Combines an existing update with a current date operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodCurrentDateTDocument(FieldDefinitionTDocument, NullableUpdateDefinitionCurrentDateType)Overloaded.
Combines an existing update with a current date operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodIncTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with an increment operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodIncTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with an increment operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMaxTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a max operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMaxTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a max operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMinTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a min operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMinTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a min operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMulTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a multiply operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMulTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a multiply operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopFirstTDocument(ExpressionFuncTDocument, Object)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopFirstTDocument(FieldDefinitionTDocument)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopLastTDocument(ExpressionFuncTDocument, Object)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopLastTDocument(FieldDefinitionTDocument)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullTDocument, TItem(FieldDefinitionTDocument, TItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullAllTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullAllTDocument, TItem(FieldDefinitionTDocument, IEnumerableTItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilterTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, FilterDefinitionTItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilterTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, ExpressionFuncTItem, Boolean)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilterTDocument, TItem(FieldDefinitionTDocument, FilterDefinitionTItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushTDocument, TItem(FieldDefinitionTDocument, TItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushEachTDocument, TItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem, NullableInt32, NullableInt32, SortDefinitionTItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushEachTDocument, TItem(FieldDefinitionTDocument, IEnumerableTItem, NullableInt32, NullableInt32, SortDefinitionTItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodRenameTDocument(ExpressionFuncTDocument, Object, String)Overloaded.
Combines an existing update with a field renaming operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodRenameTDocument(FieldDefinitionTDocument, String)Overloaded.
Combines an existing update with a field renaming operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetOnInsertTDocument, TField(ExpressionFuncTDocument, TField, TField)Overloaded.
Combines an existing update with a set on insert operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetOnInsertTDocument, TField(FieldDefinitionTDocument, TField, TField)Overloaded.
Combines an existing update with a set on insert operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Public Extension MethodUnsetTDocument(ExpressionFuncTDocument, Object)Overloaded.
Combines an existing update with an unset operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodUnsetTDocument(FieldDefinitionTDocument)Overloaded.
Combines an existing update with an unset operator.
(Defined by UpdateDefinitionExtensions.)
Top
See Also