DataTable to List<T> Mapper
Column Names / Properties (One per line)
C# LINQ Mapping Code
Why use the DataTable to List Mapper?
Mapping old-school ADO.NET DataTable results into modern strongly-typed List<T> collections is a common but repetitive task in legacy application migration. This tool generates the LINQ boilerplate code using AsEnumerable() and Field<T>(), saving you from writing boring property assignments.
Simply paste your column names, and it will create a clean .Select() statement that maps each row to your target class.