Re:Understanding the .NET ecosystem: The evolution of .NET i...
by edandersen on Tuesday March 21, 2023 @06:57PM
(#35253918)
DataTables are a construct from .NET Framework 1.1. You owe yourself (and would be doing your employer a massive favour) to check out EF Core.
Re:Understanding the .NET ecosystem: The evolution of .NET i...
by magicalhippo on Tuesday March 21, 2023 @07:34PM
(#35254376)
Well that'd explain why they feel clunky :D
Will def look at it more carefully.
Re:Understanding the .NET ecosystem: The evolution of .NET i...
by andix on Tuesday March 21, 2023 @07:30PM
(#35254330)
Just do yourself a favor and don’t use datatables directly. If you want to be as close to the database as possible, check out Dapper. It EF core should cover nearly all Dapper functionality and much more.
Ideally I'd like to supply some selects, fill up some DataTables with master-detail data, manipulate it and commit changes.
But yeah, maybe I gotta check out the latest EF stuff and see if I can't convince the others...