Answers for ".net mvc linq distinct"

C#
0

select distinct linq mvc

public static IQueryable<ProdType> GetDistinctProdType(
    this IQueryable<ProdInfo> query,
    int categoryId)
{
    return (from p in query
            where p.CatID == categoryId
            select p.Type).Distinct();
}
Posted by: Guest on March-05-2020

Code answers related to ".net mvc linq distinct"

C# Answers by Framework

Browse Popular Code Answers by Language