Skip to main content

CkMigrationReferenceDto

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

Reference to a migration script within a CK model

public class CkMigrationReferenceDto

Inheritance Object → CkMigrationReferenceDto

Properties​

FromVersion​

Source version this migration applies from

public string FromVersion { get; set; }

Property Value​

String

ToVersion​

Target version this migration upgrades to (usually the current CK model version)

public string ToVersion { get; set; }

Property Value​

String

ScriptPath​

Path to the migration script file (relative to the migrations folder)

public string ScriptPath { get; set; }

Property Value​

String

Description​

Description of what this migration does

public string Description { get; set; }

Property Value​

String

Breaking​

Whether this migration contains breaking changes that require special handling

public bool Breaking { get; set; }

Property Value​

Boolean

Constructors​

CkMigrationReferenceDto()​

Caution​

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


public CkMigrationReferenceDto()