Search Results for

    Show / Hide Table of Contents
    View Source

    Class InstalledPackageMigrationPlans

    Represents the migration plan status for an installed package.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Packaging
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "installedPackageMigrations")]
    public class InstalledPackageMigrationPlans

    Constructors

    View Source

    InstalledPackageMigrationPlans()

    Declaration
    public InstalledPackageMigrationPlans()

    Properties

    View Source

    CurrentMigrationId

    If the package has migrations, this will be it's current migration Id

    Declaration
    [DataMember(Name = "currentMigrationId")]
    public string? CurrentMigrationId { get; set; }
    Property Value
    Type Description
    string
    View Source

    FinalMigrationId

    If the package has migrations, this will be it's final migration Id

    Declaration
    [DataMember(Name = "finalMigrationId")]
    public string? FinalMigrationId { get; set; }
    Property Value
    Type Description
    string
    Remarks

    This can be used to determine if the package advertises any migrations

    View Source

    HasPendingMigrations

    Gets a value indicating whether the package has pending migrations.

    Declaration
    [DataMember(Name = "hasPendingMigrations")]
    public bool HasPendingMigrations { get; }
    Property Value
    Type Description
    bool

    true if the final migration ID differs from the current migration ID; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX