Zum Hauptinhalt springen

CkMigrationScriptDto

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

Represents a CK model migration script that defines how to update runtime entities from one CK model version to another.

public class CkMigrationScriptDto

Inheritance Object → CkMigrationScriptDto

Fields​

CkMigrationScriptSchemaUri​

The URI of the schema for CK migration scripts

public static string CkMigrationScriptSchemaUri;

Properties​

SchemaUri​

The URI of the schema used for serialization

public string SchemaUri { get; }

Property Value​

String

SourceVersion​

Source CK model version this migration applies from

public string SourceVersion { get; set; }

Property Value​

String

TargetVersion​

Target CK model version this migration updates to

public string TargetVersion { get; set; }

Property Value​

String

Description​

Description of what this migration does

public string Description { get; set; }

Property Value​

String

PreConditions​

Conditions that must be met before the migration can run

public List<CkMigrationConditionDto> PreConditions { get; set; }

Property Value​

List<CkMigrationConditionDto>

Steps​

Ordered list of migration steps to execute

public List<CkMigrationStepDto> Steps { get; set; }

Property Value​

List<CkMigrationStepDto>

PostValidations​

Validations to run after migration completes

public List<CkMigrationPostValidationDto> PostValidations { get; set; }

Property Value​

List<CkMigrationPostValidationDto>

Constructors​

CkMigrationScriptDto()​

Caution​

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


public CkMigrationScriptDto()