I am using PredicateBuilder, which means that I am using the AsExpandable extension method. The problem is that I can no longer track my SQL queries, since the following error occurs when I try to pass an ObjectQuery query so that I can make an ObjectQuery.ToTraceString () call on it ...
Cannot pass an object of type "LinqKit.ExpandableQuery`1 [Genesis.Person]" to enter "System.Data.Objects.ObjectQuery".
Any ideas?
source
share