请帮助我了解如何使用 Lambda 表达式将以下 SQL 查询写入实体框架:
SELECT COUNT(SubCategoryName)
FROM DC_SubSystem_Asset
WHERE SubCategoryID=1 AND DC_CountryId=114 AND DC_LocationID=1
请帮助我了解如何使用 Lambda 表达式将以下 SQL 查询写入实体框架:
SELECT COUNT(SubCategoryName)
FROM DC_SubSystem_Asset
WHERE SubCategoryID=1 AND DC_CountryId=114 AND DC_LocationID=1