Class RenameColumn
This property can be used in the ColumnRename transformation to rename a column. You can rename a property in either your strong typed or dynamic object.
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class RenameColumn : Attribute
Constructors
RenameColumn()
Declaration
public RenameColumn()
RenameColumn(string)
Contains information for renaming a column in a flow
Declaration
public RenameColumn(string newName)
Parameters
Type | Name | Description |
---|---|---|
string | newName | The new name of the column |
Properties
ArrayIndex
Index of the element in the array, only necessary if you use arrays as data type
Declaration
public int? ArrayIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
CurrentName
Current name of the column (not needed if you use this class as an attribute)
Declaration
public string CurrentName { get; set; }
Property Value
Type | Description |
---|---|
string |
NewName
New name of the column
Declaration
public string NewName { get; set; }
Property Value
Type | Description |
---|---|
string |
RemoveColumn
If set to true, this column is left out when using the ColumnRename transformation.
Declaration
public bool RemoveColumn { get; set; }
Property Value
Type | Description |
---|---|
bool |