AzureCosmosDbUpdateDevice Method

Updates a DeviceDto value in the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task UpdateDevice(
	DeviceDto newValue,
	DeviceDto original,
	UserSessionData updatedBy,
	CancellationToken cancellationToken = default
)

Parameters

newValue  DeviceDto
New value with edits.
original  DeviceDto
Original value.
updatedBy  UserSessionData
User updating the Device
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Implements

IAzureCosmosDbUpdateDevice(DeviceDto, DeviceDto, UserSessionData, CancellationToken)

See Also