Example #1
0
 public Column(string name, DataType dataType = DataType.String)
 {
     m_Name             = name;
     ValueFormatMutable = new ValueFormatMutable()
     {
         DataType = dataType
     };
 }
Example #2
0
 public Column(string name, string dateFormat, string dateSeparator = ValueFormatExtension.cDateSeparatorDefault)
 {
     m_Name             = name;
     ValueFormatMutable =
         new ValueFormatMutable()
     {
         DataType = DataType.DateTime, DateFormat = dateFormat, DateSeparator = dateSeparator
     };
 }
Example #3
0
 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);
 }
Example #4
0
 public Column(string name, IValueFormat valueFormat)
 {
     m_Name             = name;
     ValueFormatMutable = new ValueFormatMutable(valueFormat);
 }