query Dynamic List
we have a function returns List
in debug mode filled by :
normally we will write :
this will throw an exception like :
the solution is to use reflection : js object d = ComTaxOffice.GetTaxOffices().FirstOrDefault(p => p.GetType().GetProperty("TaxOfficeId").GetValue(p, null).ToString() == "3");
</dynamic></dynamic></t>
origin - http://www.pipiscrew.com/?p=5870 dynamic-list-where