ReorderColumn

Class ReorderColumn

This property can be used in the ColumnTransformation to change the order of a column in the outgoing dynamic object. Please note that there is no guarantee that the order of the columns is preserved by the dynamic object. But in the current implementation of the ExpandoObject in the CLR, it seems that this is the case.

Inheritance
ReorderColumn
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    [AttributeUsage(AttributeTargets.Property)]
public sealed class ReorderColumn : Attribute

Constructors

ReorderColumn()

Declaration
    public ReorderColumn()

ReorderColumn(int)

Declaration
    public ReorderColumn(int index)
Parameters
TypeNameDescription
intindex

Properties

Index

Index of the column in the output

Declaration
    public int Index { get; set; }
Property Value
TypeDescription
int

PropertyName

Name of the property - also assign an index value to set up the order of the columns.

Declaration
    public string PropertyName { get; set; }
Property Value
TypeDescription
string