In MdbDataRow.cs, at line: 165, why does it return null when IsNull is true? Does IsNull have something to do with the nullability of the column? I am getting nulls back when it clearly shows a non-null Value. This happens with string values.
/// <summary>
/// Gets the value of the specified column in its native format.
/// </summary>
/// <param name="columnName">The column name</param>
/// <returns>The underlying data object, or null if the field is null.</returns>
/// <throws cref="ArgumentNullException"><c>columnName</c> is <c>null</c>.</throws>
/// <throws cref="IndexOutOfRangeException"> No column with the specified name was found.</throws>
public object? GetValue(string columnName)
{
var fieldValue = GetFieldValue(columnName);
if (fieldValue.IsNull) return null;
return fieldValue.Value;
}
In MdbDataRow.cs, at line: 165, why does it return
null
whenIsNull
istrue
? DoesIsNull
have something to do with the nullability of the column? I am getting nulls back when it clearly shows a non-nullValue
. This happens with string values.