The following code works fine
using (var ctx = new MyEntities()) { var devices = ctx.Devices .Where(x=> x.Devic
You have to build the Expression manually.
IIRC, there is a DynamicExpressions library in the LINQ101 samples that can do this for you.