| DbDeleteAsyncE, K Method (K) |
An asynchronous version of
Delete.
Namespace: LiteRepositoryAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic virtual Task<int> DeleteAsync<E, K>(
K key
)
where E : class, K
where K : class
Parameters
- key
- Type: K
Key of the entity.
Type Parameters
- E
- Type of the entity.
- K
- Type of the key.
Return Value
Type:
TaskInt32A task representing the asynchronous operation.
See Also