Posted on: 10/15/2015 3:55:02 PM | Views : 1103

I have the below line of code which produces several of the same email addresses
Data:
me@you.com me@you.com me@you.com me@you.com me@you.com me@somedomain.com me@somedomain.com me@somedomain.com me@somedomain.com me@somedomain.com Code
Customers.CustomerEmails.Where(Function(e) e.EmailId = EmailID).OrderBy(Function(o) o.CustomerId).Distinct() Im trying to produce
me@you.com me@somedomain.com So i used .Distinct at the end of my code but this didnt work. I have tried adding it after other methods but i dont seem to be able to get the right data back?

Go to the complete details ...