Assuming...
return myIQueryableSoFar.Where(MyStaticClass.MyStaticFunc);
We could call out to a static method in our static class named MyStaticClass which would look like this:
public static Expression<Func<MyQueriedType, bool>> MyStaticFunc
{
get
{
return (x) => x.meatyCondition != null;
}
}
No comments:
Post a Comment