Accepted answer

Its an IEnumberable<selected data type> - the selected data type could be an anonymous type, or in this case, will be your dataset type class.


In your first example... mouse-over the word "var" in Visual studio, and it will display the "Type".

If it's something like 'anonymouse{blahblah}'... then you'll likely have to create a class that you want to convert it to so that you can use it as a function parameter.


I would guess something like IEnumerable<Product>. And as ck says, Product is the name of your LINQ data class.

Related Query

More Query from same tag