RenameColumn

Class RenameColumn

This property can be used in the ColumnTransformation to rename a column. You can rename a property in either your strong typed or dynamic object.

Inheritance
RenameColumn
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
TypeNameDescription
stringnewName

The new name of the column

Properties

CurrentName

Current name of the column (not needed if you use this class as an attribute)

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

NewName

New name of the column

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