DeepChecksDeepCheckActionFlowDefinitionCreateOrUpdate Method

Performs a deep check on the actionFlow 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>> DeepCheckActionFlowDefinitionCreateOrUpdate(
	this IAzureCosmosDb cosmosDb,
	ActionFlowDefinitionDto actionFlow,
	CancellationToken cancellationToken = default
)

Parameters

cosmosDb  IAzureCosmosDb
Cosmos DB
actionFlow  ActionFlowDefinitionDto
Action flow to check
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 actionFlow is

See Also