Skip to main content

CkMigrationStep

Namespace: Meshmakers.Octo.Runtime.Contracts.CkModelMigrations

A single step in a CK migration path (for multi-hop migrations)

public class CkMigrationStep

Inheritance Object → CkMigrationStep

Properties​

FromVersion​

Source version for this step

public string FromVersion { get; set; }

Property Value​

String

ToVersion​

Target version for this step

public string ToVersion { get; set; }

Property Value​

String

Script​

The parsed migration script. Either this or ScriptPath must be provided.

public CkMigrationScriptDto Script { get; set; }

Property Value​

CkMigrationScriptDto

ScriptPath​

Path to the migration script (for file-system based loading). Either this or Script must be provided.

public string ScriptPath { get; set; }

Property Value​

String

Description​

Description of this migration step

public string Description { get; set; }

Property Value​

String

Breaking​

Whether this step contains breaking changes

public bool Breaking { get; set; }

Property Value​

Boolean

Constructors​

CkMigrationStep()​

Caution​

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


public CkMigrationStep()