Search Results for

    Show / Hide Table of Contents

    Class CopyAccountDataParameter

    The server task parameters for the copy account data processs

    Copies *all* account data from one account into another. Destination account should be blank to avoid conflicts/clashes.

    Inheritance
    System.Object
    SerializedParam
    ServerTaskParameter
    CopyAccountDataParameter
    Implements
    ICloneable
    ICloneable<CopyAccountDataParameter>
    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("Copy Account Data", "DFC29F8F-4EA4-4CC7-B4A2-FE6CCB744FEF", Description = "Copies *all* account data from one account into another. Destination account should be blank to avoid conflicts/clashes.")]
    public class CopyAccountDataParameter : ServerTaskParameter, ICloneable, ICloneable<CopyAccountDataParameter>, INotifyPropertyChanged

    Fields

    UNIQUE_TASK_ID

    The unique id of the copy account data server task

    Declaration
    public const string UNIQUE_TASK_ID = "DFC29F8F-4EA4-4CC7-B4A2-FE6CCB744FEF"
    Field Value
    Type Description
    System.String

    Properties

    AccountID

    The target account to copy the data to

    Declaration
    public Guid AccountID { get; set; }
    Property Value
    Type Description
    System.Guid

    AccountID_Label

    The name of the target account to copy data to

    Declaration
    public string AccountID_Label { get; set; }
    Property Value
    Type Description
    System.String

    SourceAccountID

    The source account to copy the data from

    Declaration
    public Guid SourceAccountID { get; set; }
    Property Value
    Type Description
    System.Guid

    SourceAccountID_Label

    The name of the source account to copy data from

    Declaration
    public string SourceAccountID_Label { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Clone()

    Declaration
    public CopyAccountDataParameter Clone()
    Returns
    Type Description
    CopyAccountDataParameter

    CopyFromParam(SerializedParam)

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

    CopyFromSource(CopyAccountDataParameter)

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

    CreateNewParam()

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

    GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Returns that this is a copy account data task from the specified source account to the target account

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

    The server task for processing the copy

    Returns
    Type Description
    System.String

    A string stating that this is a copy account data task from the specified source account to the target account

    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.