ItemBaseRepositoryTPartialUpdate Method

Performs a partial update on an item in the cloud using a list of PatchOperations.

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
internal Task PartialUpdate(
	T item,
	IReadOnlyList<PatchOperation> patchOperations,
	CancellationToken cancellationToken
)

Parameters

item  T
Item to apply the operation to.
patchOperations  IReadOnlyListPatchOperation
Properties to replace.
cancellationToken  CancellationToken
Cancellation token

Return Value

Task
Task completion.

Remarks

Note: The changed properties of item are not reflected in the patchOperations list, the goal is that the patchOperations are specifically assigned, that we only alter those properties.

See Also