【发布时间】:2012-02-08 10:19:15
【问题描述】:
我想知道 where 子句的最佳方法,它小于或等于要匹配的值为 int 的位置?
var outOfStockProducts = (from theMapProd in context.tblProductOptions_MAP
join theProd in context.tblProducts on theMapProd.productID equals theProd.productID
where theProd.stock_Level <= 5
select theMapProd).ToList();
【问题讨论】:
-
您对收到的查询有什么顾虑?
标签: linq entity-framework linq-to-entities where