ItemBaseRepositoryTDelete(T, UserSessionData, Boolean, CancellationToken) Method
Delete a business object instance permanently from the cloud
Namespace: MobileTrack.DataContainers.RepositoriesAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
internal Task Delete(
T model,
UserSessionData deletedBy,
bool forceDelete,
CancellationToken cancellationToken
)
- model T
- The item to remove
- deletedBy UserSessionData
- User AccountDto deleting the item
- forceDelete Boolean
- If , then we will delete the item permanently regardless of company settings.
- cancellationToken CancellationToken
- Cancellation Token, which will be inserted in the Azure Tasks
TaskTask completion