RoleRepositoryInsertAsync(RoleDeputyRecord, CancellationToken) - метод
Добавляет запись о замещении на роль.
Пространство имён: Tessa.RolesСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task InsertAsync(
RoleDeputyRecord deputyRecord,
CancellationToken cancellationToken = default
)
Public Function InsertAsync (
deputyRecord As RoleDeputyRecord,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ InsertAsync(
RoleDeputyRecord^ deputyRecord,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract InsertAsync :
deputyRecord : RoleDeputyRecord *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override InsertAsync :
deputyRecord : RoleDeputyRecord *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- deputyRecord RoleDeputyRecord
- Запись о замещении на роль.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IRoleRepositoryInsertAsync(RoleDeputyRecord, CancellationToken)