Entity Framework Plus LINQ
LINQ Dynamic
LINQ Dynamic in Entity Framework is supported through the Eval-Expression.NET Library.
Predicate
All LINQ predicate methods are supported. A string expression which return a Boolean function can be used as parameter.
- Deferred
- SkipWhile
- TakeWhile
- Where
- Immediate
- All
- Any
- Count
- First
- FirstOrDefault
- Last
- LastOrDefault
- LongCount
- Single
- SingleOrDefault
var list = ctx.Where(x => "x > 2").ToList(); var list = ctx.Where(x => "x > y", new { y = 2 }).ToList();