protected static UseNamedColumns ( ClassMapping mapping ) : bool | ||
mapping | ClassMapping | Mapping for this file. |
return | bool |
protected internal static bool UseNamedColumns(ClassMapping mapping)
{
bool allNumeric = true;
foreach (string colName in mapping.AllDataColsInOrder)
{
int unused;
if (!int.TryParse(colName, out unused))
{
allNumeric = false;
break;
}
}
return !allNumeric;
}