ItemBaseRepositoryTDelete(T, Guid, CompanyDto, 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,
Guid deletedBy,
CompanyDto company,
bool forceDelete,
CancellationToken cancellationToken
)
- model T
- The item to remove
- deletedBy Guid
- AccountDto deleting the item
- company CompanyDto
- CompanyDto of the item owning the object.
- 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