开发者

Persisting and applying Linq Query to collection

开发者 https://www.devze.com 2023-02-02 12:19 出处:网络
I have a scenario where I would want a plugin to construct a LINQ (to objects) query, send it across a开发者_StackOverflown appdomain and then apply and run it against a collection of my choosing

I have a scenario where I would want a plugin to construct a LINQ (to objects) query, send it across a开发者_StackOverflown appdomain and then apply and run it against a collection of my choosing

Is it possible, how?


Take a look a the Dynamic Linq Library may be it can help you


Expression trees are not serialisable because they contain references to code. You might want to use an alternative format for describing your query across your AppDomain boundary, such as xml, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号