zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

5 results in tag: distinct

Entity Framework chooses a unique name

How can I do this ...SQL... query with ...Entity Framework...? ...SELECT DISTINCT NAME FROM TestAddresses
c# distinct entity-framework linq
asked by patrick

Entity framework is unique.

I have a List of objects that some of them have the same Ids, so I would like to remove those elements that are duplicated. ...I tried with something like this:...List<post> posts = postsFromDatabase.Distinct().ToList(); ...But it doesn't work!...So I wro...
.net c# distinct entity-framework linq
asked by Javier Hertfelder

What is the best way to use IEqualityComparer to return distinct values?

I have a L2E query that returns some data that contains duplicate objects. I need to remove those duplicate objects. Basically I should assume that if their IDs are the same then the objects are duplicate. I've tried ...q.Distinct()..., but that still ret...
c# distinct entity-framework iequalitycomparer
asked by Bogdan Verbenets

Issue with Entity Framework returning distinct records

I have a PC Enity which have some Properties , I would like to return a list of distinct Object (PC or Complex Type or whatever ) based on a property in order to bind it to server controls like DropDownList . And Because my method located in BLL I can't r...
asp.net c# complextype distinct entity-framework
asked by Mostafa

Linq to Entities Select Distinct

I'm not sure what I'm missing but I've been thrashing at this one all afternoon....I have a Sql Server view of Companies which looks like this:...CompanyId varchar(30) NOT NULL CompanyName varchar(100) NOT NULL CompanyPriority int NULL ConfigItem int NOT ...
distinct entity-framework linq-to-entities vb.net
asked by Nick

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!