Closed
Description
Dear,
With the old version (1.2.25) of the library I could call methods of the class in the order function. With the new version I get an error that the method is not accessible.
IEnumerable<PilotWithCO> pilotwithcolist = pilotwithcolist.AsQueryable().Where(where).OrderBy(order).ToList();
in order string I have, for example: "PenaltyTotal ascending, GetCOPenalty(0,2) ascending, GetCOPenalty(0,3) ascending
"
where GetCOPenalty(0,2)
is a public method of PilotWithCO class
System.Linq.Dynamic.Core.Exceptions.ParseException: 'Methods on type 'PilotWithCO' are not accessible'