tagged [predicate]
PredicateBuilder.New vs PredicateBuilder.True
PredicateBuilder.New vs PredicateBuilder.True I am using PredicateBuilder to create a search/filter section in my action. Here it is: ``` [HttpPost] public ActionResult Test(int? cty, string inumber...
- Modified
- 10 Jan at 20:57
List<object>.RemoveAll - How to create an appropriate Predicate
List.RemoveAll - How to create an appropriate Predicate This is a bit of noob question - I'm still fairly new to C# and generics and completely new to predicates, delegates and lambda expressions... I...
Generic Query Method
Generic Query Method Trying to reduce repetition in my code by making a generic GET method. I am using OrmLite and its SQLExpressionVisitor update... The goal is to pass in a lambda. I have seen a few...
- Modified
- 9 Oct at 19:47
How to convert a String to its equivalent LINQ Expression Tree?
How to convert a String to its equivalent LINQ Expression Tree? This is a simplified version of the original problem. I have a class called Person: ...and lets say an instance: ``` var bob = new Perso...