Click or drag to resize
DbUpdateAsyncE Method (Object, ExpressionFuncE, Boolean)
An asynchronous version of Update.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual Task<int> UpdateAsync<E>(
	Object subEntity,
	Expression<Func<E, bool>> where
)
where E : class

Parameters

subEntity
Type: SystemObject
Entity to update in database.
where
Type: System.Linq.ExpressionsExpressionFuncE, Boolean
Where expression.

Type Parameters

E
Type of the entity.

Return Value

Type: TaskInt32
A task representing the asynchronous operation.
See Also