Table of Contents

Class UpdateDefinitionExtensions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Extension methods for UpdateDefinition.

public static class UpdateDefinitionExtensions
Inheritance
UpdateDefinitionExtensions
Inherited Members

Methods

AddToSetEach<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>)

Combines an existing update with an add to set operator.

AddToSetEach<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)

Combines an existing update with an add to set operator.

AddToSet<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)

Combines an existing update with an add to set operator.

AddToSet<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)

Combines an existing update with an add to set operator.

BitwiseAnd<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a bitwise and operator.

BitwiseAnd<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a bitwise and operator.

BitwiseOr<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a bitwise or operator.

BitwiseOr<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a bitwise or operator.

BitwiseXor<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a bitwise xor operator.

BitwiseXor<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a bitwise xor operator.

CurrentDate<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, UpdateDefinitionCurrentDateType?)

Combines an existing update with a current date operator.

CurrentDate<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, object>>, UpdateDefinitionCurrentDateType?)

Combines an existing update with a current date operator.

Inc<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with an increment operator.

Inc<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with an increment operator.

Max<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a max operator.

Max<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a max operator.

Min<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a min operator.

Min<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a min operator.

Mul<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a multiply operator.

Mul<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a multiply operator.

PopFirst<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing update with a pop operator.

PopFirst<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing update with a pop operator.

PopLast<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing update with a pop operator.

PopLast<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing update with a pop operator.

PullAll<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>)

Combines an existing update with a pull operator.

PullAll<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)

Combines an existing update with a pull operator.

PullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, FilterDefinition<TItem>)

Combines an existing update with a pull operator.

PullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>)

Combines an existing update with a pull operator.

PullFilter<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, bool>>)

Combines an existing update with a pull operator.

Pull<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)

Combines an existing update with a pull operator.

Pull<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)

Combines an existing update with a pull operator.

PushEach<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, IEnumerable<TItem>, int?, int?, SortDefinition<TItem>)

Combines an existing update with a push operator.

PushEach<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>, int?, int?, SortDefinition<TItem>)

Combines an existing update with a push operator.

Push<TDocument, TItem>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, TItem)

Combines an existing update with a push operator.

Push<TDocument, TItem>(UpdateDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)

Combines an existing update with a push operator.

Rename<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>, string)

Combines an existing update with a field renaming operator.

Rename<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, object>>, string)

Combines an existing update with a field renaming operator.

SetOnInsert<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a set on insert operator.

SetOnInsert<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a set on insert operator.

Set<TDocument, TField>(UpdateDefinition<TDocument>, FieldDefinition<TDocument, TField>, TField)

Combines an existing update with a set operator.

Set<TDocument, TField>(UpdateDefinition<TDocument>, Expression<Func<TDocument, TField>>, TField)

Combines an existing update with a set operator.

Unset<TDocument>(UpdateDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing update with an unset operator.

Unset<TDocument>(UpdateDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing update with an unset operator.