How can i get only distinct record from table in Entity Framework?
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
nallyaPosted Sep 21, 2012, 1:27 AM
var query1 = from bookinformation in ent.BOOKINFORMATIONs select bookinformation.AUTHORNAME;
query1 = query1.Distinct();