Class PivotPropImportColDefinition
An entity import column defintion for properties that are pivot header columns of a sub table entity
Inheritance
Inherited Members
Namespace: LemonEdge.Core.Descriptors
Assembly: 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 |
System.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 |
---|---|
System.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 |
---|---|
System.String |
Overrides
ColumnType
The type of column for this header pivot column
Declaration
public override Type ColumnType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
HeaderColName
The header column name for this pivot column
Declaration
public string HeaderColName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsKeyLink
This is only a key link if it has no parent
Declaration
public override bool IsKeyLink { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
---|---|
System.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 |
---|---|
System.String |