CkMigrationPath
Namespace: Meshmakers.Octo.Runtime.Contracts.CkModelMigrations
Represents a migration path between two CK model versions
public class CkMigrationPath
Inheritance Object → CkMigrationPath
Properties
FromModel
Source CK model version
public CkModelId FromModel { get; set; }
Property Value
CkModelId
ToModel
Target CK model version
public CkModelId ToModel { get; set; }
Property Value
CkModelId
Steps
Ordered list of migration steps to execute
public List<CkMigrationStep> Steps { get; set; }
Property Value
HasBreakingChanges
Whether this migration contains breaking changes
public bool HasBreakingChanges { get; set; }
Property Value
Description
Description of the migration
public string Description { get; set; }
Property Value
IsPartialPath
Indicates whether this is a partial migration path. A partial path occurs when data migrations are defined up to an intermediate version (e.g., 1.0.3 -> 2.0.0) but the actual target version is higher (e.g., 2.0.2). The remaining version jump (2.0.0 -> 2.0.2) is schema-only and doesn't need data migration.
public bool IsPartialPath { get; set; }
Property Value
Constructors
CkMigrationPath()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public CkMigrationPath()