Skip to main content

MigrationValidationDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.BlueprintCatalogs.DataTransferObjects

Validation to run after migration

public class MigrationValidationDto

Inheritance Object → MigrationValidationDto

Properties​

ValidationId​

Unique identifier for this validation

public string ValidationId { get; set; }

Property Value​

String

Description​

Description of what is being validated

public string Description { get; set; }

Property Value​

String

Type​

Type of validation

public MigrationValidationType Type { get; set; }

Property Value​

MigrationValidationType

Target​

Target for validation

public EntityTargetDto Target { get; set; }

Property Value​

EntityTargetDto

ExpectedCount​

Expected count (for entityCount validation)

public Nullable<int> ExpectedCount { get; set; }

Property Value​

Nullable<Int32>

ExpectedValue​

Expected value (for attributeValue validation)

public object ExpectedValue { get; set; }

Property Value​

Object

Severity​

Severity level if validation fails

public MigrationValidationSeverity Severity { get; set; }

Property Value​

MigrationValidationSeverity

Constructors​

MigrationValidationDto()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public MigrationValidationDto()