Bug at DataTable.Load(dataReader) when result have NULL value on joined column #29744
Labels
area-adonet-sqlite
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
When a query have a joined table and the join result have null values, but the column is a NOT-NULL-column, it throws a exception.
The same works with SQLiteDataAdapter.Fill from System.Data.SQLite
The same queries works fine if i use SqliteDataAdapter from System.Data.SQLite and fill the datatables with the same queries.
Another interesting thing is, if i insert a try-catch-block at the last table.Load(), it fills the datatable, like it schould be.
Version information
Microsoft.Data.Sqlite version: 7.0.0
Target framework: (e.g. .NET 4.8)
Operating system: Windows 11
Visual Studio 2022
The text was updated successfully, but these errors were encountered: