Hi,

We encountered an issue with the method GetOrdinal on the SQLiteDataReader class. We expected an Exception when calling this method with a not existing column, but instead we got -1 as ordinal position.

According to the API description of System.Data.Common.DbDataReader this call should return an IndexOutOfRangeException instead of -1:


Can you please verify and confirm. And is it possible that this can be fixed?

Regards,

Arjen van Efferen