I have the following Linq query, which is in a web application converted from .NET 1.1 to 3.5:
dim objListOfFilteredDataRows = from datarows as datarow in objDataSet.tables(0).rows _ where datarows("SomeColumn") = SomeValue
I have the same request in an application that was created using .NET 3.5, and the request returns IEnumerable. However, the request in the converted application is returned:
{Name = "WhereEnumerableIterator`1" FullName = "System.Linq.Enumerable+WhereEnumerableIterator`1[[System.Data.DataRow, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}
** Edit: When I select an expression, intellisense says that it does not know the type objListOfFilteredDataRows and assumes its type is "Object".
Why is this type not output in converted application 1.1, but output in "native" 3.5? **
What am I missing here? How to convert WhereEntereratorIterator`1 to IEnumerable? Thanks!
source share