Search Results for

    Show / Hide Table of Contents

    Class UpgradeDatabseParameter

    The server task parameters for the upgrade database calculation processs

    Forces a comparrison of the database with the current loaded entity schema and upgrades the database if any changes from API AddIns are required.

    Inheritance
    System.Object
    SerializedParam
    ServerTaskParameter
    UpgradeDatabseParameter
    Implements
    ICloneable
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ServerTaskParameter.ShouldAutomaticallyCreateTask(IHasSaveProcessingTask, IEntityUpdater)
    ServerTaskParameter.AllowAutoCreateOnLockedItems
    ServerTaskParameter.DisplayUserParamOnSave(IHasSaveProcessingTask)
    ServerTaskParameter.AllowSaveWithNoChangesForTaskCreation(IHasSaveProcessingTask)
    SerializedParam.GetParam<T>(String)
    SerializedParam.GetParam<T>(Byte[])
    SerializedParam.GetParam(String)
    SerializedParam.GetParam(Byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    SerializedParam.ICloneable.Clone()
    SerializedParam.ICloneable.CopyFromSource(Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Tasks.Parameters
    Assembly: API.dll
    Syntax
    [DataContract]
    [ServerTaskParameters("Upgrade Database", "0B63C444-1127-4631-805D-3ADA803F0288", Description = "Forces a comparrison of the database with the current loaded entity schema and upgrades the database if any changes from API AddIns are required.")]
    public class UpgradeDatabseParameter : ServerTaskParameter, ICloneable, INotifyPropertyChanged

    Constructors

    UpgradeDatabseParameter()

    Creates a new upgrade database server task process parameter

    Declaration
    public UpgradeDatabseParameter()

    Fields

    UNIQUE_TASK_ID

    The unique id of the upgrade database server task

    Declaration
    public const string UNIQUE_TASK_ID = "0B63C444-1127-4631-805D-3ADA803F0288"
    Field Value
    Type Description
    System.String

    Properties

    Force

    Indicates if the database upgrade process should run even if the system does not detect and schema changes to upgrade

    This will still force the system to drop all functions/sps,etc and recreate everything anyway even if there are no changes for it to update on the actual entity database tables

    Declaration
    public bool Force { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Clone()

    Declaration
    public UpgradeDatabseParameter Clone()
    Returns
    Type Description
    UpgradeDatabseParameter

    CopyFromParam(SerializedParam)

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source
    Overrides
    SerializedParam.CopyFromParam(SerializedParam)

    CopyFromSource(UpgradeDatabseParameter)

    Declaration
    public void CopyFromSource(UpgradeDatabseParameter source)
    Parameters
    Type Name Description
    UpgradeDatabseParameter source

    CreateNewParam()

    Declaration
    protected override SerializedParam CreateNewParam()
    Returns
    Type Description
    SerializedParam
    Overrides
    SerializedParam.CreateNewParam()

    GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Returns that this is an upgrade database server task

    Declaration
    public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
    Parameters
    Type Name Description
    IServerTask task

    The server task for processing the upgrade database

    Returns
    Type Description
    System.String

    A string stating that this is an upgrade database server task

    Overrides
    ServerTaskParameter.GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    OnPropChanged(String)

    Declaration
    protected void OnPropChanged(string propName)
    Parameters
    Type Name Description
    System.String propName

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    ICloneable
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.