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 t.id = id
but the above code is not working and it is giving me error at the place of t.name,t.date,t.number.
i mean it is not showing even to select t.date 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.