How can I get data from these related entities. I want to get these columns only: Term.Name , related Concept_Term.Weight, related Concept.Id
I wrote the SQL but I don't want to use
select t.Name,ct.ConceptId,ct.Weight from Term t
inner join Concept_Term ct on t.Id=ct.TermId
inner join Concept c on c.Id=ct.ConceptId
where c.Id == 80298 and t.LanguageId=2
What I want to see is the same result like a table in a console application with the same result that I wrote in SQL.
Picture of the entities : http://img7.imageshack.us/img7/7129/77365088.jpg
Note: Sorry I can't embed this photo in my post because the system doesn't allow me to do that.