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
Description
Human-readable description of what this step does
public string Description { get; set; }
Property Value
Action
The type of action to perform
public MigrationActionType Action { get; set; }
Property Value
Target
Target entity or entities for this step
public EntityTargetDto Target { get; set; }
Property Value
Data
Data to apply (for add/update actions)
public Nullable<JsonElement> Data { get; set; }
Property Value
Transform
Transform configuration (for transform actions)
public TransformConfigDto Transform { get; set; }
Property Value
Condition
Optional condition that must be true for this step to execute
public MigrationConditionDto Condition { get; set; }
Property Value
OnConflict
How to handle conflicts if entity already exists
public MigrationConflictBehavior OnConflict { get; set; }
Property Value
ContinueOnError
Whether to continue with subsequent steps if this step fails
public bool ContinueOnError { get; set; }
Property Value
Constructors
MigrationStepDto()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public MigrationStepDto()