共用方式為


DomainManager<TData>.DeleteAsync(String) Method

Definition

Deletes an existing item

public abstract System.Threading.Tasks.Task<bool> DeleteAsync (string id);
abstract member DeleteAsync : string -> System.Threading.Tasks.Task<bool>
Public MustOverride Function DeleteAsync (id As String) As Task(Of Boolean)

Parameters

id
String

The id of the item to delete.

Returns

true if item was deleted; otherwise false

Implements

Applies to