第3方开源的有:

https://github.com/davideicardi/DynamicExpresso

https://github.com/microsoft/RulesEngine

https://github.com/zzzprojects/System.Linq.Dynamic.Core

这3个都挺好;第3个我比较喜欢。

找一些开源的第3方的组件,github上找资源是不二之选。查找资源前,先确定下搜索的关键词,并且用英文翻译出来,用英文搜索。比如,我搜索动态表达式树,英文为Dynamic expression,则github上搜索如下:

https://github.com/search?l=C%23&o=desc&q=Dynamic+expression&s=&type=Repositories

.NetCore中EFCore查询参数不固定,动态创建表达式树的方法

 

 

 

手写的方法:

https://blog.csdn.net/RedCodeRabbit/article/details/88946181

 

相关文章:

  • 2022-12-23
  • 2021-11-13
  • 2021-10-25
  • 2021-05-22
  • 2021-07-02
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案