我在 c# 中有以下行:
var name = (from x in db.authors
where fullName == "Jean Paul Olvera"
orderby x.surname
select new { x.id_author, fullName= String.Concat(x.name," ", x.surname) });
我的问题是我想在 where 子句中使用别名,但我不能,'fullName' 显示为未声明。