switch linq syntax

Posted by scrat789 on Stack Overflow See other posts from Stack Overflow or by scrat789
Published on 2010-05-24T15:44:11Z Indexed on 2010/05/24 16:01 UTC
Read the original article Hit count: 252

Filed under:
|
 var folders = from r in this.bdd.Rights
               join f in this.bdd.Folders on r.RightFolderId equals f.FolderId
               join rs in this.bdd.RightSpecs on r.RightSpecId equals rs.SpecIdRight
               where r.RightUserId == userId
               where rs.SpecRead == true
               where rs.SpecWrite == true
               select f;

How transform this linq query in the other syntax?

 var folders = this.bdd.Rights.Where(r => r.....

© Stack Overflow or respective owner

Related posts about c#

Related posts about LINQ