Select ARM.ID,ARM.name from artist as A
INNER JOIN artist_role As AR ON AR.artist_id = A.id
INNER JOIN artist_role_master As ARM ON ARM.id = AR.artist_role_master_id
I want this Query in .net Using ORM2010
1 Answer, 1 is accepted
0
Damyan Bogoev
Telerik team
answered on 10 Aug 2010, 08:43 AM
Hi kunal,
The requested LINQ query should be defined in the following way:
var query =
from artist incontext.Artists
join role incontext.ArtistRoles on artist.Id equals role.ArtistId
join master incontext.ArtistRoleMaster on role.Id equals master.ArtistRoleMasterId
select new{ master.ID, master.Name };
Hope that helps.
Best wishes,
Damyan Bogoev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items