In my database i got a column named hashcode. this column stores the hashcodes of pictures. I want to run a query that searches for duplicate hashcodes using linq to entities.
I got stuck with the 'where clause'. How do i compare hashcodes?
var ans = this.pe.TPicture.Where(p => this.pe.TPicture.Count(x => x.Equals(p)) > 1);