Let say I have a function like this:
var filterValue = GetCurrentFilter(state);
And then an EF query:
var result = context.Enti