Пример #1
0
 public static ProjectFileSelectionExpression ContainModifications(this ProjectFileSelectionExpression parentExp)
 {
     return(parentExp.Reselect(s =>
                               (
                                   from f in s
                                   join m in parentExp.Selection <Modification>() on f.ID equals m.FileID
                                   select f
                               ).Distinct()
                               ));
 }
Пример #2
0
 public static ProjectFileSelectionExpression TouchedInCommits(this ProjectFileSelectionExpression parentExp)
 {
     return(parentExp.Reselect(s =>
                               (
                                   from f in s
                                   join m in parentExp.Queryable <Modification>() on f.ID equals m.FileID
                                   join c in parentExp.Selection <Commit>() on m.CommitID equals c.ID
                                   select f
                               ).Distinct()
                               ));
 }