I am looking for a sample linq code snippet that uses System.Linq.Dynamic versus datatable.
Dim entities = (From ent In dt.AsEnumerable().Where(String.Format("IsUSFederal == {0}", "true")) _
Select Description = ent("Description"), Acronym = ent("Acronym")).ToList
I get an error: "Not available. Where can I call these arguments." I included the DynamicLinq.vb file and the application compiles fine (except for this error). I have enabled Imports System.Linq.Dynamic, but it does not seem to work.
Any ideas? THX
David source
share