public Column(string name, DataType dataType = DataType.String) { m_Name = name; ValueFormatMutable = new ValueFormatMutable() { DataType = dataType }; }
public Column(string name, string dateFormat, string dateSeparator = ValueFormatExtension.cDateSeparatorDefault) { m_Name = name; ValueFormatMutable = new ValueFormatMutable() { DataType = DataType.DateTime, DateFormat = dateFormat, DateSeparator = dateSeparator }; }
public Column(IColumn source, IValueFormat format) { m_ColumnOrdinal = source.ColumnOrdinal; m_Convert = source.Convert; m_DestinationName = source.DestinationName; m_Ignore = source.Ignore; m_Name = source.Name; m_Part = source.Part; m_PartSplitter = source.PartSplitter; m_PartToEnd = source.PartToEnd; m_TimePart = source.TimePart; m_TimePartFormat = source.TimePartFormat; m_TimeZonePart = source.TimeZonePart; ValueFormatMutable = new ValueFormatMutable(format); }
public Column(string name, IValueFormat valueFormat) { m_Name = name; ValueFormatMutable = new ValueFormatMutable(valueFormat); }