这是SQL Query,,,我有两个tables, one is Categories and other Sub Categories
,,,我想使用inner query(Category table) and that value pass to outer query(Sub categories table)
如何将其转换为带有lambda表达式的实体框架..?
select *
from DC_System_SubCategories
where CatID = (select max(CatID)
from DC_System_Categories)