Click or drag to resize

UpdateDefinitionExtensions Class

Extension methods for UpdateDefinition.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.UpdateDefinitionExtensions

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public static class UpdateDefinitionExtensions
Methods
  NameDescription
Public methodStatic memberAddToSet<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)
Combines an existing update with an add to set operator.
Public methodStatic memberAddToSet<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Combines an existing update with an add to set operator.
Public methodStatic memberAddToSetEach<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>)
Combines an existing update with an add to set operator.
Public methodStatic memberAddToSetEach<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)
Combines an existing update with an add to set operator.
Public methodStatic memberBitwiseAnd<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a bitwise and operator.
Public methodStatic memberBitwiseAnd<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a bitwise and operator.
Public methodStatic memberBitwiseOr<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a bitwise or operator.
Public methodStatic memberBitwiseOr<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a bitwise or operator.
Public methodStatic memberBitwiseXor<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a bitwise xor operator.
Public methodStatic memberBitwiseXor<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a bitwise xor operator.
Public methodStatic memberCurrentDate<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, Nullable<UpdateDefinitionCurrentDateType>)
Combines an existing update with a current date operator.
Public methodStatic memberCurrentDate<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, Object>>, Nullable<UpdateDefinitionCurrentDateType>)
Combines an existing update with a current date operator.
Public methodStatic memberInc<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with an increment operator.
Public methodStatic memberInc<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with an increment operator.
Public methodStatic memberMax<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a max operator.
Public methodStatic memberMax<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a max operator.
Public methodStatic memberMin<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a min operator.
Public methodStatic memberMin<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a min operator.
Public methodStatic memberMul<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a multiply operator.
Public methodStatic memberMul<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a multiply operator.
Public methodStatic memberPopFirst<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)
Combines an existing update with a pop operator.
Public methodStatic memberPopFirst<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, Object>>)
Combines an existing update with a pop operator.
Public methodStatic memberPopLast<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)
Combines an existing update with a pop operator.
Public methodStatic memberPopLast<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, Object>>)
Combines an existing update with a pop operator.
Public methodStatic memberPull<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)
Combines an existing update with a pull operator.
Public methodStatic memberPull<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Combines an existing update with a pull operator.
Public methodStatic memberPullAll<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>)
Combines an existing update with a pull operator.
Public methodStatic memberPullAll<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)
Combines an existing update with a pull operator.
Public methodStatic memberPullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, FilterDefinition<TItem>)
Combines an existing update with a pull operator.
Public methodStatic memberPullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>)
Combines an existing update with a pull operator.
Public methodStatic memberPullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, Boolean>>)
Combines an existing update with a pull operator.
Public methodStatic memberPush<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)
Combines an existing update with a push operator.
Public methodStatic memberPush<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Combines an existing update with a push operator.
Public methodStatic memberPushEach<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>, Nullable<Int32>, Nullable<Int32>, SortDefinition<TItem>)
Combines an existing update with a push operator.
Public methodStatic memberPushEach<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>, Nullable<Int32>, Nullable<Int32>, SortDefinition<TItem>)
Combines an existing update with a push operator.
Public methodStatic memberRename<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, String)
Combines an existing update with a field renaming operator.
Public methodStatic memberRename<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, Object>>, String)
Combines an existing update with a field renaming operator.
Public methodStatic memberSet<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a set operator.
Public methodStatic memberSet<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a set operator.
Public methodStatic memberSetOnInsert<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)
Combines an existing update with a set on insert operator.
Public methodStatic memberSetOnInsert<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)
Combines an existing update with a set on insert operator.
Public methodStatic memberUnset<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)
Combines an existing update with an unset operator.
Public methodStatic memberUnset<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, Object>>)
Combines an existing update with an unset operator.
Top
See Also