Zum Hauptinhalt springen

CkMigrationStepDto

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

A single step in a CK migration script

public class CkMigrationStepDto

Inheritance Object → CkMigrationStepDto

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 CkMigrationActionType Action { get; set; }

Property Value​

CkMigrationActionType

Target​

Target entities for this step (required for most actions, validated at runtime)

public CkMigrationTargetDto Target { get; set; }

Property Value​

CkMigrationTargetDto

Transform​

Transform configuration (for Transform action)

public CkMigrationTransformDto Transform { get; set; }

Property Value​

CkMigrationTransformDto

Data​

Data to set (for Add/Update actions)

public Dictionary<string, object> Data { get; set; }

Property Value​

Dictionary<String, Object>

Condition​

Optional condition for this step to execute

public CkMigrationConditionDto Condition { get; set; }

Property Value​

CkMigrationConditionDto

OnConflict​

How to handle conflicts

public CkMigrationConflictBehavior OnConflict { get; set; }

Property Value​

CkMigrationConflictBehavior

ContinueOnError​

Whether to continue with subsequent steps if this step fails

public bool ContinueOnError { get; set; }

Property Value​

Boolean

Constructors​

CkMigrationStepDto()​

Caution​

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


public CkMigrationStepDto()