Class EntityImportActionColDefinition
Indicates this entity import column definition is for a custom action and does not represent actual data for this entity held in the system
The custom process to run when this column is imported can be implemented through EntityDescriptorTemplateExtender
Typically the valid set of custom actions is held by an enum, and so the user can see that in templates can be set with SetDefaultValueToEnumOptions<T>()Inheritance
EntityImportActionColDefinition
Inherited Members
Namespace: LemonEdge.API.Descriptors
Assembly: LemonEdge.API.dll
Syntax
public class EntityImportActionColDefinition : PropEntityImportColDefinition, IHasChildren<EntityImportColDefinition>, IHasChildren, IQueryableFieldInfo
Constructors
EntityImportActionColDefinition()
Creates a new entity import column defintion that allows custom actions to be executed instead of importing values
Declaration
public EntityImportActionColDefinition()
Fields
COLUMN_NAME
The custom property name and column name for this entity import column defintion
Declaration
public const string COLUMN_NAME = "CustomAction"
Field Value
Type | Description |
---|---|
string |
Properties
IsCustomAction
Indicates this column does not actually hold any data, rather can be used to perform custom actions/processes during an import
This can be enabled through implementing EntityDescriptorTemplateExtender
Declaration
public override bool IsCustomAction { get; }
Property Value
Type | Description |
---|---|
bool |