Class PivotPropImportColDefinition
An entity import column definition for properties that are pivot header columns of a sub table entity
Inheritance
Inherited Members
Namespace: LemonEdge.API.Descriptors
Assembly: LemonEdge.API.dll
Syntax
public class PivotPropImportColDefinition : EntityImportColDefinition, IHasChildren<EntityImportColDefinition>, IHasChildren, IQueryableFieldInfo
Constructors
PivotPropImportColDefinition(EntityDescriptor, EntityRelationship, ColumnDescriptor, IBaseEntity, string, EntityImportColDefinition)
Creates a new entity import column defintion for a pivotted data header against an entity
Declaration
public PivotPropImportColDefinition(EntityDescriptor pivotDesc, EntityRelationship relationship, ColumnDescriptor colInfo, IBaseEntity headerItem, string headerLabel, EntityImportColDefinition parent)
Parameters
Type | Name | Description |
---|---|---|
EntityDescriptor | pivotDesc | The entiy of the item that has pivot data |
EntityRelationship | relationship | The relationship to the entity that holds the data to appear as pivot headers |
ColumnDescriptor | colInfo | The column information for this pivot header |
IBaseEntity | headerItem | The item that is the header for this pivot column |
string | headerLabel | The label of the item to be used as a header for this pivot column |
EntityImportColDefinition | parent | Any parent entity this field belongs to |
Fields
PROPNAME_PREFIX
The prefix for any column header for import/export that holds pivot values
Declaration
public const string PROPNAME_PREFIX = "PivotValue_"
Field Value
Type | Description |
---|---|
string |
Properties
ColumnInfo
The column information for this type
Declaration
public override ColumnDescriptor ColumnInfo { get; }
Property Value
Type | Description |
---|---|
ColumnDescriptor |
Overrides
ColumnMnemonic
The unique column mneonic for this column. This is ImportPivotColumnNamePrefix and _ and the header label
Declaration
public override string ColumnMnemonic { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ColumnType
The type of column for this header pivot column
Declaration
public override Type ColumnType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
HeaderColName
The header column name for this pivot column
Declaration
public string HeaderColName { get; set; }
Property Value
Type | Description |
---|---|
string |
IsKeyLink
This is only a key link if it has no parent
Declaration
public override bool IsKeyLink { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
PivotHeaderItem
The item that is the header for this pivot column
Declaration
public override IBaseEntity PivotHeaderItem { get; }
Property Value
Type | Description |
---|---|
IBaseEntity |
Overrides
PropertyName
The property name which is PROPNAME_PREFIX and the header label
Declaration
public override string PropertyName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Relationship
The relationship that defines how this pivot header is related to the pivot entity
Declaration
public override EntityRelationship Relationship { get; }
Property Value
Type | Description |
---|---|
EntityRelationship |
Overrides
UserFriendlyName
The user friendly name for this pivot header column which is just the header label
Declaration
public override string UserFriendlyName { get; }
Property Value
Type | Description |
---|---|
string |