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); }