本文介绍了如何从sql查询中编写Linq查询或lambda表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
i想写这个SQL查询的linq查询或lambda expresion
选择最大(tblEmailList.name),计数(tblEmailRecipientList.ListId) tblEmailList tblEmailRecipientList tblEmailRecipientList.ListId = tblEmailList.ListId
by tblEmailRecipientList.ListId
提前感谢
解决方案
Hi All,
i want to write linq query or lambda expresion fot this sql query
select Max(tblEmailList.name),count(tblEmailRecipientList.ListId) from tblEmailList join tblEmailRecipientList on tblEmailRecipientList.ListId = tblEmailList.ListId group by tblEmailRecipientList.ListId
thanks in advance
解决方案
这篇关于如何从sql查询中编写Linq查询或lambda表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!