Search Results for

    Show / Hide Table of Contents

    Class TruncateEntityParameter

    The server task parameters for the truncate entity calculation processs

    Truncates all the tables holding data for this entity, all froeign table entries linking to it are left.

    Inheritance
    System.Object
    SerializedParam
    ServerTaskParameter
    TruncateEntityParameter
    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("Truncate Entity Table", "1DE9CF04-251D-4734-A489-151C531727F2", Description = "Truncates all the tables holding data for this entity, all froeign table entries linking to it are left.")]
    public class TruncateEntityParameter : ServerTaskParameter, ICloneable, INotifyPropertyChanged

    Constructors

    TruncateEntityParameter()

    Creates a new tuncate entity task process parameter

    Declaration
    public TruncateEntityParameter()

    Fields

    UNIQUE_TASK_ID

    The unique id of the upgrade database server task

    Declaration
    public const string UNIQUE_TASK_ID = "1DE9CF04-251D-4734-A489-151C531727F2"
    Field Value
    Type Description
    System.String

    Properties

    EntityTypeID

    The type of entity to truncate all data in the table for

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

    Methods

    Clone()

    Declaration
    public TruncateEntityParameter Clone()
    Returns
    Type Description
    TruncateEntityParameter

    CopyFromParam(SerializedParam)

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

    CopyFromSource(TruncateEntityParameter)

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

    CreateNewParam()

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

    GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Returns that this is a truncate entity server task

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

    The server task for processing the truncate entity

    Returns
    Type Description
    System.String

    A string stating that this is a truncate entity 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.