我正在尝试过滤 LINQ 查询,但它不接受我的 where 子句,我不知道要使用哪种 Lambda 函数。
这就是我想要的,但这会引发错误。
var query = from s in _db.Students where s.Payments == null orderby s.LastName select s;
我正在尝试过滤 LINQ 查询,但它不接受我的 where 子句,我不知道要使用哪种 Lambda 函数。
这就是我想要的,但这会引发错误。
var query = from s in _db.Students where s.Payments == null orderby s.LastName select s;