Skip to main content

CkModelUpgradeResult

Namespace: Meshmakers.Octo.Runtime.Contracts.CkModelMigrations

Result of checking and executing CK model upgrades

public class CkModelUpgradeResult

Inheritance ObjectCkModelUpgradeResult

Properties

Success

Whether all upgrades completed successfully

public bool Success { get; set; }

Property Value

Boolean

UpgradedModels

List of models that were upgraded

public List<CkModelUpgradeInfo> UpgradedModels { get; set; }

Property Value

List<CkModelUpgradeInfo>

SkippedModels

List of models that were skipped (no migration needed)

public List<CkModelUpgradeInfo> SkippedModels { get; set; }

Property Value

List<CkModelUpgradeInfo>

FailedModels

List of models that failed to upgrade

public List<CkModelUpgradeInfo> FailedModels { get; set; }

Property Value

List<CkModelUpgradeInfo>

TotalEntitiesAffected

Total entities affected across all migrations

public int TotalEntitiesAffected { get; set; }

Property Value

Int32

Errors

Errors that occurred during upgrade

public List<string> Errors { get; set; }

Property Value

List<String>

Warnings

Warnings generated during upgrade

public List<string> Warnings { get; set; }

Property Value

List<String>

Constructors

CkModelUpgradeResult()

public CkModelUpgradeResult()

Methods

NoUpgradeNeeded()

Creates a successful result with no upgrades needed

public static CkModelUpgradeResult NoUpgradeNeeded()

Returns

CkModelUpgradeResult