Home kimballjohnson Promote

kimballjohnson

I'm trying to get PredicateBuilders built again. The examples in the single page on the C# in a nutshell site do not include enough context to be able to derive the actual code and integrations necessary to implement a working scenario. I see some references to 'examples', but they all refer to that single page. Those 'examples' are clearly short-cutting the use cases. As Joe mentioned, they presume an EntitySet as the source. So: please fill in the basic context: 1. can PredicateBuilder produce predicates that can be used in a standard/simple LINQ IEnumerable query using method syntax? what are ALL the pieces of the LINQkit library that have to be utilized to make a stand-alone predicate definition usable in a stand-alone IEnumerable method chain? 2. The static methods returning Expression> expressions... These are positioned as partial methods on a EntitySet. Can these be re-purposed to create a typical linq extension method within an extension?.