GetName() private method

private GetName ( int ordinal ) : string
ordinal int
return string
Exemplo n.º 1
0
 private static string[] GenerateFieldNames(DataReaderContainer dataReader) {
     string[] fieldNames = new string[dataReader.FieldCount];
     for(int i = 0; i < fieldNames.Length; ++i) {
         fieldNames[i] = dataReader.GetName(i);
     }
     ADP.BuildSchemaTableInfoTableNames(fieldNames);
     return fieldNames;
 }
 private static string[] GenerateFieldNames(DataReaderContainer dataReader)
 {
     string[] columnNameArray = new string[dataReader.FieldCount];
     for (int i = 0; i < columnNameArray.Length; i++)
     {
         columnNameArray[i] = dataReader.GetName(i);
     }
     ADP.BuildSchemaTableInfoTableNames(columnNameArray);
     return columnNameArray;
 }