Click or drag to resize
UpdateDefinitionBuilderTDocument Class
Inheritance Hierarchy
SystemObject
  MongoDB.DriverUpdateDefinitionBuilderTDocument

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.3.0
Syntax
public sealed class UpdateDefinitionBuilder<TDocument>

Type Parameters

TDocument
The type of the document.

The UpdateDefinitionBuilderTDocument type exposes the following members.

Constructors
  NameDescription
Public methodUpdateDefinitionBuilderTDocument
Initializes a new instance of the UpdateDefinitionBuilderTDocument class
Top
Methods
  NameDescription
Public methodAddToSetTItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)
Creates an add to set operator.
Public methodAddToSetTItem(FieldDefinitionTDocument, TItem)
Creates an add to set operator.
Public methodAddToSetEachTItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem)
Creates an add to set operator.
Public methodAddToSetEachTItem(FieldDefinitionTDocument, IEnumerableTItem)
Creates an add to set operator.
Public methodBitwiseAndTField(ExpressionFuncTDocument, TField, TField)
Creates a bitwise and operator.
Public methodBitwiseAndTField(FieldDefinitionTDocument, TField, TField)
Creates a bitwise and operator.
Public methodBitwiseOrTField(ExpressionFuncTDocument, TField, TField)
Creates a bitwise or operator.
Public methodBitwiseOrTField(FieldDefinitionTDocument, TField, TField)
Creates a bitwise or operator.
Public methodBitwiseXorTField(ExpressionFuncTDocument, TField, TField)
Creates a bitwise xor operator.
Public methodBitwiseXorTField(FieldDefinitionTDocument, TField, TField)
Creates a bitwise xor operator.
Public methodCombine(UpdateDefinitionTDocument)
Creates a combined update.
Public methodCombine(IEnumerableUpdateDefinitionTDocument)
Creates a combined update.
Public methodCurrentDate(ExpressionFuncTDocument, Object, NullableUpdateDefinitionCurrentDateType)
Creates a current date operator.
Public methodCurrentDate(FieldDefinitionTDocument, NullableUpdateDefinitionCurrentDateType)
Creates a current date operator.
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 methodIncTField(ExpressionFuncTDocument, TField, TField)
Creates an increment operator.
Public methodIncTField(FieldDefinitionTDocument, TField, TField)
Creates an increment operator.
Public methodMaxTField(ExpressionFuncTDocument, TField, TField)
Creates a max operator.
Public methodMaxTField(FieldDefinitionTDocument, TField, TField)
Creates a max operator.
Public methodMinTField(ExpressionFuncTDocument, TField, TField)
Creates a min operator.
Public methodMinTField(FieldDefinitionTDocument, TField, TField)
Creates a min operator.
Public methodMulTField(ExpressionFuncTDocument, TField, TField)
Creates a multiply operator.
Public methodMulTField(FieldDefinitionTDocument, TField, TField)
Creates a multiply operator.
Public methodPopFirst(ExpressionFuncTDocument, Object)
Creates a pop first operator.
Public methodPopFirst(FieldDefinitionTDocument)
Creates a pop operator.
Public methodPopLast(ExpressionFuncTDocument, Object)
Creates a pop first operator.
Public methodPopLast(FieldDefinitionTDocument)
Creates a pop operator.
Public methodPullTItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)
Creates a pull operator.
Public methodPullTItem(FieldDefinitionTDocument, TItem)
Creates a pull operator.
Public methodPullAllTItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem)
Creates a pull operator.
Public methodPullAllTItem(FieldDefinitionTDocument, IEnumerableTItem)
Creates a pull operator.
Public methodPullFilterTItem(ExpressionFuncTDocument, IEnumerableTItem, FilterDefinitionTItem)
Creates a pull operator.
Public methodPullFilterTItem(ExpressionFuncTDocument, IEnumerableTItem, ExpressionFuncTItem, Boolean)
Creates a pull operator.
Public methodPullFilterTItem(FieldDefinitionTDocument, FilterDefinitionTItem)
Creates a pull operator.
Public methodPushTItem(ExpressionFuncTDocument, IEnumerableTItem, TItem)
Creates a push operator.
Public methodPushTItem(FieldDefinitionTDocument, TItem)
Creates a push operator.
Public methodPushEachTItem(ExpressionFuncTDocument, IEnumerableTItem, IEnumerableTItem, NullableInt32, NullableInt32, SortDefinitionTItem)
Creates a push operator.
Public methodPushEachTItem(FieldDefinitionTDocument, IEnumerableTItem, NullableInt32, NullableInt32, SortDefinitionTItem)
Creates a push operator.
Public methodRename(ExpressionFuncTDocument, Object, String)
Creates a field renaming operator.
Public methodRename(FieldDefinitionTDocument, String)
Creates a field renaming operator.
Public methodSetTField(ExpressionFuncTDocument, TField, TField)
Creates a set operator.
Public methodSetTField(FieldDefinitionTDocument, TField, TField)
Creates a set operator.
Public methodSetOnInsertTField(ExpressionFuncTDocument, TField, TField)
Creates a set on insert operator.
Public methodSetOnInsertTField(FieldDefinitionTDocument, TField, TField)
Creates a set on insert operator.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnset(ExpressionFuncTDocument, Object)
Creates an unset operator.
Public methodUnset(FieldDefinitionTDocument)
Creates an unset operator.
Top
Extension Methods
  NameDescription
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.)
Top
See Also