I have a table in database that has some columns.I get a list of some records from this table in my repository class.So I will have something like this:
Now I want to delete records that have the same value in a special column(here in Code column),like this:
I mean I want to have just one of the records that have the same Code column value. How can I do that in Entity Framework?