public override long GetInt64(int ordinal)
{
ValidateState(nameof(GetInt64));
ValidateReader();
try
{
return (long)_currentDataRow[ordinal];
}
catch (IndexOutOfRangeException e)
{
// thrown by DataColumnCollection
ExceptionBuilder.TraceExceptionWithoutRethrow(e);
throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal));
}
}