Use something like
db.Table1.Select(t => t.Column1).Distinct()
As Munim mentioned in his comment, the Distinct () method adds DISTINCT to the query. Thus, the result of the SQL query will be
SELECT [Distinct1].[Column1] AS [Column1] FROM ( SELECT DISTINCT [Extent1].[Column1] AS [Column1] FROM [dbo].[Table1] AS [Extent1] ) AS [Distinct1]
okrumnow
source share