Click or drag to resize

BsonDocumentUpdateDefinition<TDocument> Methods

The BsonDocumentUpdateDefinition<TDocument> generic type exposes the following members.

Methods
Extension Methods
  NameDescription
Public Extension MethodAddToSet<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSet<TDocument, TItem>(FieldDefinition<TDocument>, TItem)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSetEach<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodAddToSetEach<TDocument, TItem>(FieldDefinition<TDocument>, IEnumerable<TItem>)Overloaded.
Combines an existing update with an add to set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseAnd<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a bitwise and operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseAnd<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a bitwise and operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseOr<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a bitwise or operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseOr<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a bitwise or operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseXor<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a bitwise xor operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodBitwiseXor<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a bitwise xor operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodCurrentDate<TDocument>(Expression<Func<TDocument, Object>>, Nullable<UpdateDefinitionCurrentDateType>)Overloaded.
Combines an existing update with a current date operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodCurrentDate<TDocument>(FieldDefinition<TDocument>, Nullable<UpdateDefinitionCurrentDateType>)Overloaded.
Combines an existing update with a current date operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodInc<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with an increment operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodInc<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with an increment operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMax<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a max operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMax<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a max operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMin<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a min operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMin<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a min operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMul<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a multiply operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodMul<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a multiply operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopFirst<TDocument>(Expression<Func<TDocument, Object>>)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopFirst<TDocument>(FieldDefinition<TDocument>)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopLast<TDocument>(Expression<Func<TDocument, Object>>)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPopLast<TDocument>(FieldDefinition<TDocument>)Overloaded.
Combines an existing update with a pop operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPull<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPull<TDocument, TItem>(FieldDefinition<TDocument>, TItem)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullAll<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullAll<TDocument, TItem>(FieldDefinition<TDocument>, IEnumerable<TItem>)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilter<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilter<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, Boolean>>)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPullFilter<TDocument, TItem>(FieldDefinition<TDocument>, FilterDefinition<TItem>)Overloaded.
Combines an existing update with a pull operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPush<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPush<TDocument, TItem>(FieldDefinition<TDocument>, TItem)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushEach<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>, Nullable<Int32>, Nullable<Int32>, SortDefinition<TItem>)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodPushEach<TDocument, TItem>(FieldDefinition<TDocument>, IEnumerable<TItem>, Nullable<Int32>, Nullable<Int32>, SortDefinition<TItem>)Overloaded.
Combines an existing update with a push operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodRename<TDocument>(Expression<Func<TDocument, Object>>, String)Overloaded.
Combines an existing update with a field renaming operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodRename<TDocument>(FieldDefinition<TDocument>, String)Overloaded.
Combines an existing update with a field renaming operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSet<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSet<TDocument, TField>(FieldDefinition<TDocument, TField>, TField)Overloaded.
Combines an existing update with a set operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetOnInsert<TDocument, TField>(Expression<Func<TDocument, TField>>, TField)Overloaded.
Combines an existing update with a set on insert operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodSetOnInsert<TDocument, TField>(FieldDefinition<TDocument, 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 MethodUnset<TDocument>(Expression<Func<TDocument, Object>>)Overloaded.
Combines an existing update with an unset operator.
(Defined by UpdateDefinitionExtensions.)
Public Extension MethodUnset<TDocument>(FieldDefinition<TDocument>)Overloaded.
Combines an existing update with an unset operator.
(Defined by UpdateDefinitionExtensions.)
Top
See Also