| DbUpdateAsyncE Method (Object, ExpressionFuncE, Boolean) |
An asynchronous version of
Update.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic 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:
TaskInt32A task representing the asynchronous operation.
See Also