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.
Inherited Members
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
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
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
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
System.ComponentModel.INotifyPropertyChanged