I need to reference to System.Data.DataSetExtensions.dll to use Linq To DataSet
I am running this piece of code:
DataTable dt = _dataSetCache.Tables["table0"];
var query = from d in dt.AsEnumerable()
orderby d.Field("INSTANCES")
select d;
and getting this error
> The type arguments for method> `System.Linq.Enumerable.AsEnumerable(this> System.Collections.Generic.IEnumerable)'> cannot be inferred from the usage. Try> specifying the type arguments> explicitly
How do I reference to make AsEnumerable available for my datatable in unity
↧