Click or drag to resize

DataContextUpdateAllTModel, TUpdateModel(ExpressionFuncTModel, Boolean, ExpressionFuncTUpdateModel, Object) Method

Update all data matching whereExpression to updateStatements

Namespace: SanteDB.OrmLite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public void UpdateAll<TModel, TUpdateModel>(
	Expression<Func<TModel, bool>> whereExpression,
	params Expression<Func<TUpdateModel, Object>>[] updateStatements
)

Parameters

whereExpression  ExpressionFuncTModel, Boolean
The filter expression
updateStatements  ExpressionFuncTUpdateModel, Object
The update statements to append to the SQL clause

Type Parameters

TModel
The type of object to update
TUpdateModel
The type that update statements should be treated as
See Also