Search Results for

    Show / Hide Table of Contents

    Class CompareDatabaseParameters

    The server task parameters for comparing databases

    Holds the parameter for another database alias to compare this current database to

    Compares all tables between two databases and results on any differences by table/key.
    Inheritance
    System.Object
    SerializedParam
    ServerTaskParameter
    CompareDatabaseParameters
    Implements
    ICloneable
    ICloneable<CompareDatabaseParameters>
    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("Compare Databases", "1B830EBD-35B2-4400-9A04-A21A48FC2CFB", Description = "Compares all tables between two databases and results on any differences by table/key.")]
    public class CompareDatabaseParameters : ServerTaskParameter, ICloneable, ICloneable<CompareDatabaseParameters>, INotifyPropertyChanged

    Fields

    UNIQUE_TASK_ID

    The unique id of the compare databases calculation server task

    Declaration
    public const string UNIQUE_TASK_ID = "1B830EBD-35B2-4400-9A04-A21A48FC2CFB"
    Field Value
    Type Description
    System.String

    Properties

    DatabaseAlias

    The database alias to connect to and compare to the current system.

    If this is running from a service this needs to be one of the database aliases that service connects to.

    If directly connected to the database, this can be a name of a database on the same server
    Declaration
    public string DatabaseAlias { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Clone()

    Declaration
    public CompareDatabaseParameters Clone()
    Returns
    Type Description
    CompareDatabaseParameters

    CopyFromParam(SerializedParam)

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

    CopyFromSource(CompareDatabaseParameters)

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

    CreateNewParam()

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

    GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Returns that this is a compare database task against the specified database alias

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

    The server task for processing this algorithm

    Returns
    Type Description
    System.String

    A string stating that this is a compare database task against the specified database alias

    Overrides
    ServerTaskParameter.GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Events

    PropertyChanged

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

    Implements

    ICloneable
    ICloneable<T>
    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.