我想在LINQ中连接一个字符串,我的查询是:
var OnePoste =
from cr in bd.Staxe
where cr.Date_Comm >= dateTime1 && cr.Date_Comm <= dateTime2
select cr.Id;
mystring = " && (coutCommInt1 == 0 || cr.Mt_Comm_C >= coutCommInt1)
&& (coutCommInt2 == 0 || cr.Mt_Comm_C <= coutCommInt2)"
如何在LINQ查询中添加mystring
?
1条答案
按热度按时间sgtfey8w1#
“嗨""我想写"