Click or drag to resize

LiteCollectionTUpdateMany(ExpressionFuncT, T, ExpressionFuncT, Boolean) Method

Update many document based on merge current document with extend expression. Use your class with initializers. Eg: col.UpdateMany(x => new Customer { Name = x.Name.ToUpper(), Salary: 100 }, x => x.Name == "John")

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public int UpdateMany(
	Expression<Func<T, T>> extend,
	Expression<Func<T, bool>> predicate
)

Parameters

extend  ExpressionFuncT, T
 
predicate  ExpressionFuncT, Boolean
 

Return Value

Int32

Implements

ILiteCollectionTUpdateMany(ExpressionFuncT, T, ExpressionFuncT, Boolean)
See Also