Exemple #1
0
 public static CodeFileSelectionExpression ContainModifications(this CodeFileSelectionExpression parentExp)
 {
     return(parentExp.Reselect(s =>
                               (
                                   from f in s
                                   join m in parentExp.Selection <Modification>() on f.Id equals m.FileId
                                   select f
                               ).Distinct()
                               ));
 }
Exemple #2
0
 public static CodeFileSelectionExpression TouchedInCommits(this CodeFileSelectionExpression 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.CommitNumber equals c.Number
                                   select f
                               ).Distinct()
                               ));
 }