ISettingsUnitRepositoryDeleteAsync - метод
Permanently deletes a settings unit record by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
Task<List<Guid>> DeleteAsync(
Guid id,
bool cascade = true,
CancellationToken cancellationToken = default
)
Function DeleteAsync (
id As Guid,
Optional cascade As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of List(Of Guid))
Task<List<Guid>^>^ DeleteAsync(
Guid id,
bool cascade = true,
CancellationToken cancellationToken = CancellationToken()
)
abstract DeleteAsync :
id : Guid *
?cascade : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cascade = defaultArg cascade true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<List<Guid>>
- id Guid
- The unique identifier of the settings unit to delete.
- cascade Boolean (Optional)
-
If , the method deletes the record with the specified id along with any related records.
If , only the record with the specified id is deleted, leaving related records intact.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskListGuid
Collection of deleted settings unit records. If
cascade is
collection contains only one element -
id.
This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.