We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ab595 commit d547c25Copy full SHA for d547c25
src/Ydb.Sdk/src/Ado/YdbDataReader.cs
@@ -465,12 +465,7 @@ public override int GetValues(object[] values)
465
return count;
466
}
467
468
- public override bool IsDBNull(int ordinal)
469
- {
470
- var type = GetColumnType(ordinal);
471
-
472
- return (type.IsOptional() && CurrentRow[ordinal].IsNull()) || type.IsNull();
473
- }
+ public override bool IsDBNull(int ordinal) => CurrentRow[ordinal].IsNull();
474
475
public override int FieldCount => ReaderMetadata.FieldCount;
476
public override object this[int ordinal] => GetValue(ordinal);
0 commit comments