public static IList<string> GetAttribute_1(ModelContainer context, long productcatid)
{
var query = from product in context.Products
where product.ProductCategory_Id == productcatid
select product.Attribute_1;
return query.ToList();
}
どのように製品ごとにグループ化しますか.Attribute_1?LINQを使用してIList <T>をグループ化するには?
はい、ありがとうございました。私が探していたものです – Beginner