将IQueryable(Of T)转换为Expression(Of Func(Of T,Boolean)) [英] Convert IQueryable(Of T) to Expression(Of Func(Of T, Boolean))
本文介绍了将IQueryable(Of T)转换为Expression(Of Func(Of T,Boolean))的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将IQueryable(Of T)转换为表达式(Func(Of T,Boolean))?
How do I convert an IQueryable(Of T) to an Expression(Of Func(Of T, Boolean))?
推荐答案
看一下 IQueryable.Expression 属性。它包含IQueryable的表达式树。
Take a look at the IQueryable.Expression property. It contains the expression tree for IQueryable.
这篇关于将IQueryable(Of T)转换为Expression(Of Func(Of T,Boolean))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文