Open Conman-123 opened 1 year ago
It's unfortunate situation. Although the change to NotSupportedException
is trivial, I'd like to hear more opinions whether such breaking change is worth it. I personally don't have strong feeling about one or the other.
According to https://github.com/FirebirdSQL/NETProvider/issues/317, HasRows always returns true as it is not supported by Firebird. However, this is not documented anywhere and is causing "There are no data to read" exceptions because it always returns true.
It would be very helpful to hide this property, or throw NotSupportedException, or change it to always return false with a docstring explaining that it is not supported by Firebird.
Obviously this would be a big breaking change.