DeepChecksDeepCheckActionFlowAssignmentCreateOrUpdate Method

Performs a deep check on the Action flow assignment assignment to ensure it can be added/updated to the database without conflicting with existing data.

Definition

Namespace: MobileTrack.DataContainers.Extensions
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static Task<List<ValidationModel>> DeepCheckActionFlowAssignmentCreateOrUpdate(
	this IAzureCosmosDb cosmosDb,
	ActionFlowAssignmentDto assignment,
	CancellationToken cancellationToken = default
)

Parameters

cosmosDb  IAzureCosmosDb
Cosmos DB
assignment  ActionFlowAssignmentDto
Action flow assignment
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListValidationModel
ValidationModel errors or an empty list if all is well.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAzureCosmosDb. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionThrown if assignment is

See Also