Skip to main content

MigrationStepDto

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

Represents a single step in a migration script

public class MigrationStepDto

Inheritance Object → MigrationStepDto

Properties​

StepId​

Unique identifier for this step within the migration

public string StepId { get; set; }

Property Value​

String

Description​

Human-readable description of what this step does

public string Description { get; set; }

Property Value​

String

Action​

The type of action to perform

public MigrationActionType Action { get; set; }

Property Value​

MigrationActionType

Target​

Target entity or entities for this step

public EntityTargetDto Target { get; set; }

Property Value​

EntityTargetDto

Data​

Data to apply (for add/update actions)

public Nullable<JsonElement> Data { get; set; }

Property Value​

Nullable<JsonElement>

Transform​

Transform configuration (for transform actions)

public TransformConfigDto Transform { get; set; }

Property Value​

TransformConfigDto

Condition​

Optional condition that must be true for this step to execute

public MigrationConditionDto Condition { get; set; }

Property Value​

MigrationConditionDto

OnConflict​

How to handle conflicts if entity already exists

public MigrationConflictBehavior OnConflict { get; set; }

Property Value​

MigrationConflictBehavior

ContinueOnError​

Whether to continue with subsequent steps if this step fails

public bool ContinueOnError { get; set; }

Property Value​

Boolean

Constructors​

MigrationStepDto()​

Caution​

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


public MigrationStepDto()