Implements CopyToDataTable<T> where the generic type T is not a DataRow. Is idea to help create datasource for library like EPPlus This code has been taken from http://msdn.microsoft.com/en-us/library/bb669096.aspx. Together with: http://w3facility.org/question/how-to-convert-iqueryable-to-datatable/ This is an extension method, should be used like using LINQtoDataTable; .... { System.Data.DataTable MyTable = MyProducts.Where(x=>x.Price>10).CopyToDataTable(); }
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Apr 28, 2015
$ dotnet add package LinqToDataTableNo README available.