CkMigrationOptions
Namespace: Meshmakers.Octo.Runtime.Contracts.CkModelMigrations
Options for CK model migration execution
public class CkMigrationOptions
Inheritance Object → CkMigrationOptions
Properties
DryRun
If true, only simulate the migration without making changes
public bool DryRun { get; set; }
Property Value
ContinueOnError
If true, continue executing steps even if some fail
public bool ContinueOnError { get; set; }
Property Value
IncludeUserEntities
If true, also migrate entities not created by blueprints (user-created entities)
public bool IncludeUserEntities { get; set; }
Property Value
SchemaSnapshotCapturedAtUtc
UTC time at which the caller read the schema versions it passes as previouslyInstalledVersions to
ICkModelUpgradeService.UpgradeModelsAsync(String, IEnumerable<CkModelIdVersionRange>, CkMigrationOptions, IReadOnlyDictionary<String, String>, CancellationToken). With it, the upgrade service can tell a
MigrationHistory entry that another service wrote after that snapshot (a concurrent upgrade, not a downgrade)
from an older entry that the schema really fell behind (a manual downgrade). When it is null, a
snapshot below the MigrationHistory is always treated as a manual downgrade.
public Nullable<DateTime> SchemaSnapshotCapturedAtUtc { get; set; }
Property Value
Constructors
CkMigrationOptions()
public CkMigrationOptions()