Question

I've recently started using the DynamicQuery API, and it quickly became apparent that it has numerous limitations. I've found at least one improvement online: support for enum arguments, but it's pretty clear that this API is not actively maintained (if at all).

In case I'm wrong and there is somebody maintaining an improved version - please post a link!

Alternatively, a separate, active project with similar goals would also be of interest.

(Clarification: I'm looking to parse strings at runtime.)

Was it helpful?

Solution

In the end we just implemented some of the features we missed by editing the source code. Added support for passing in a static class as an "external" (DynamicQuery's terminology), support for calling methods on this static class, and type inference if any such methods are generic.

I suspect there isn't much demand for this, so I didn't bother making it available anywhere. Let me know if you think otherwise.

Edit: due to a request, DynamicQuery Enhanced is now available on BitBucket. Expect to be underwhelmed; take a look at this Info and this list of tweaks.

OTHER TIPS

I've seen PredicateBuilder before mentioned (here on Stackoverflow) as an alternative. I've not used it though, but it might be useful to you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top