Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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();
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: list of function in c# 
Csharp :: .net on vs code 
Csharp :: get position of another object unity 
Csharp :: c# array.reduce 
Csharp :: c# check characters in string 
Csharp :: c# .equals vs == 
Csharp :: aspx element visibility ould not find 
Csharp :: iterate through photon player gameobjects 
Csharp :: C# The request was aborted: Could not create SSL/TLS secure 
Csharp :: render world space UI infront of everything unity 
Csharp :: start a particle effect when a button is pushed 
Csharp :: superscript list 
Csharp :: int c = new int(); in C# 
Csharp :: c# filter datagridview 
Csharp :: ontriggerenter2d 
Csharp :: Startup.cs class is missing in .NET 6 
Csharp :: extension method in c# 
Csharp :: C# check if object is default 
Csharp :: how to download somthing from one drive unity 
Csharp :: Ignore case string linq c# 
Csharp :: or operator in shell 
Csharp :: c# networkstream read all bytes 
Csharp :: lwjgl fullscreen 
Csharp :: what is failure 
Csharp :: serilog asp.net 5 
Csharp :: c# bool list count true 
Csharp :: ef core many to many fluent api 
Csharp :: c# get all id of list object 
Csharp :: c# HttpResponseMessage postResponse = client.PostAsync 
Csharp :: create dropdown in datatable c# dynamically 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =