datatableproxy.netstandard20 by Tom Dietrich, Jason Shigley

<PackageReference Include="datatableproxy.netstandard20" Version="1.0.0" />

 DataTableProxy<T>

public class DataTableProxy<T>
public Dictionary<string, Func<T, object>> ColumnDefs { get; set; }

public IEnumerable<T> DataSource { get; set; }

public DataTable Table { get; }

public DataTableProxy()

public DataTableProxy(Dictionary<string, Func<T, object>> columns)

public DataTableProxy(Dictionary<string, Func<T, object>> columns, IEnumerable<T> data)

public static Dictionary<string, Func<T, object>> EmptyColumnsList()

public void FillTable()

public void FillTable(bool removeEmptyColumns)

public void SetColumnsByReflection()