I am working in Entity Framework Model and i am writing an expression like this:
medication = objectContext.vClientMedication.Distinct().ToList();
What should I write in Distinct
function to get the unique BrandName
. BrandName
is an attribute of vClientMedication.
Thank you.