| DbDeleteAsyncE Method (ExpressionFuncE, Boolean, Object) |
An asynchronous version of
Delete.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic virtual Task<int> DeleteAsync<E>(
Expression<Func<E, bool>> where,
Object param = null
)
where E : class
Parameters
- where
- Type: System.Linq.ExpressionsExpressionFuncE, Boolean
Where expression. - param (Optional)
- Type: SystemObject
Query parameters.
Type Parameters
- E
- Type of the entity.
Return Value
Type:
TaskInt32A task representing the asynchronous operation.
See Also