📅  最后修改于: 2022-03-11 14:49:22.504000             🧑  作者: Mango
var query = from article in session.Linq()
where article.Name.Equals(name, StringComparison.OrdinalIgnoreCase) &&
article.Category.Equals(category) &&
article.Company.Equals(company)
select article;
return query.FirstOrDefault();