2

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.)

4

2 回答 2

2

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.

于 2009-10-03T17:35:01.723 回答
1

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.

于 2009-07-12T18:22:47.660 回答