I've build a large program with many references. F.e.:
- System.Data.DataSetExtensions
- System.Linq.Dynamic
I've to write a Dynamic Linq Expression:
In my case:
Dim query As IEnumerable = ds.Sales.Where(strWhere)
But with System.Data.DataSetExtensions
Where
is misinterpreted. The compiler expects (Datarow, Integer, Boolean)
. If I delete System.Data.DataSetExtensions
everything is ok with this expression, but I get many other errors, so I need this reference.
What can I do that the Where
is interpreted correctly?