SettingsUnitRepositoryDeleteAsync - метод
Permanently deletes a settings unit record by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
public Task DeleteAsync(
Guid id,
bool cascade = true,
CancellationToken cancellationToken = default
)
Public Function DeleteAsync (
id As Guid,
Optional cascade As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ DeleteAsync(
Guid id,
bool cascade = true,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract DeleteAsync :
id : Guid *
?cascade : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cascade = defaultArg cascade true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override DeleteAsync :
id : Guid *
?cascade : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cascade = defaultArg cascade true
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- 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.
TaskRepresents an asynchronous operation.
ISettingsUnitRepositoryDeleteAsync(Guid, Boolean, CancellationToken)
This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.