System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 4ea5bb8e70680800542ed985ff11c56a96af738a
Title: SqliteConnection GetAll<T> throws invalid cast on non-null REAL
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: LINQ Resolution: Rejected
Last Modified: 2019-07-13 18:24:59
Version Found In: 2.2.4
User Comments:
anonymous added on 2019-07-09 13:39:50:
When reading a table with SQliteConnection's GetAll<T>, if the first entry in a table has a null value for a REAL column, the next entry where the value for that column in not null throws an invalid cast exception. 

REAL values are cast to Double? in our entry type.

anonymous added on 2019-07-09 14:12:46:
Bug in Dapper extension