troubleshooting Question

Using Distinct in Entity frame work need urgent help

Avatar of chpk
chpk asked on
.NET ProgrammingMicrosoft Development
3 Comments1 Solution287 ViewsLast Modified:
  I am using entity frame work to get the things from database.
 Actually i want to use distinct to get data from the view so i am coding like the following but i am getting an error can you please help me.

   var test = (from t in details()
                     where = id

but the above code is not working and it is giving me error at the place of,,t.number.
i mean it is not showing even to select and next one.

Can you please help me in this situation.
Thanks in advance.
If you have any questions let me know .I will explain the question clearly.
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros