|IEntityDeleteAsync Method (CancellationToken)|
Async variant of Delete
Deletes the Entity from the persistent storage. This method succeeds also when the Entity is not present.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 126.96.36.199 (5.3.0)
Function DeleteAsync (
cancellationToken As CancellationToken
) As Task(Of Boolean)
- Type: System.ThreadingCancellationToken
The cancellation token.
true if Delete succeeded, false otherwise
|ORMConcurrencyException||The delete action of an entity failed, probably due to the set delete restriction provided. The entity which failed is enclosed.|
|ORMQueryExecutionException||When an exception is caught during the delete process. The caught exception is set as the
inner exception. Encapsulation of database-related exceptions is necessary since these exceptions do not have a common exception framework