Horje
select distinct linq mvc Code Example
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();
}




Csharp

Related
get first number in string C# Code Example get first number in string C# Code Example
create new gameobject unity Code Example create new gameobject unity Code Example
unity check if current scene is being unloaded Code Example unity check if current scene is being unloaded Code Example
first sentence letter capital in c# Code Example first sentence letter capital in c# Code Example
setting the parent of a transform which resides in a prefab Code Example setting the parent of a transform which resides in a prefab Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10