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.
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class ReorderColumn : AttributeConstructors
ReorderColumn()
Declaration
public ReorderColumn()ReorderColumn(int)
Declaration
public ReorderColumn(int index)Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Properties
Index
Index of the column in the output
Declaration
public int Index { get; set; }Property Value
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| string |