Click or drag to resize
BsonDocumentUpdateDefinitionTDocument Class
A BsonDocument based update.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverUpdateDefinitionTDocument
    MongoDB.DriverBsonDocumentUpdateDefinitionTDocument

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax
public sealed class BsonDocumentUpdateDefinition<TDocument> : UpdateDefinition<TDocument>

Type Parameters

TDocument
The type of the document.

The BsonDocumentUpdateDefinitionTDocument type exposes the following members.

Constructors
  NameDescription
Public methodBsonDocumentUpdateDefinitionTDocument
Initializes a new instance of the BsonDocumentUpdateDefinitionTDocument class.
Top
Methods
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
Properties
  NameDescription
Public propertyDocument
Gets the document.
Top
See Also