示例#1
0
 public override Type GetFieldType(int ordinal)
 {
     if (ordinal >= 0 && ordinal < m_ColumnCount)
     {
         return(StandardTypes.MapType(m_Columns[ordinal].typeSignature.rawType));
     }
     else
     {
         return(null);
     }
 }
示例#2
0
 public override object GetValue(int ordinal)
 {
     return(StandardTypes.Convert(m_Columns[ordinal].typeSignature.rawType, m_Fields[ordinal]));
 }