http://peter.hahndorf.eu/blog/post/2010/12/31/UsingLinqInManytomanySelectScenarios
不是那麼直覺哦,要寫的是兩個 from
from c in context.Clubs from p in c.Persons where p.PersonId == 3 select new { Name = c.Name };
http://peter.hahndorf.eu/blog/post/2010/12/31/UsingLinqInManytomanySelectScenarios
不是那麼直覺哦,要寫的是兩個 from
from c in context.Clubs from p in c.Persons where p.PersonId == 3 select new { Name = c.Name };