Пример #1
0
 void IColumnMapping.ProcessMapping(int column, int rowNumber, ICdlRecord record, ICdlValueWriter writer, IShellContext context)
 {
     record.ReadValue(record.GetOrdinal(Name));
     record.WriteTo(writer);
 }
Пример #2
0
 public int GetOrdinal(string colName)
 {
     return(RefObject.GetOrdinal(colName));
 }
Пример #3
0
 void IColumnMapping.ProcessMapping(int column, int rowNumber, ICdlRecord record, ICdlValueWriter writer, IShellContext context)
 {
     record.ReadValue(record.GetOrdinal(Name));
     record.WriteTo(writer);
 }
Пример #4
0
 public static object GetValue(this ICdlRecord record, string colName)
 {
     return(record.GetValue(record.GetOrdinal(colName)));
 }