public DbSet <C> Join <B, C>(DbSet <B> right, Func <DbSet <T>, DbSet <B>, WhereJoinOnNode> on, Func <T, B, C> mapper) { var dbset = new DbSetComplex <T, B, C>(this.dbContext, this, right, on, mapper); return(dbset); }
public DbSet <Tuple <T, B> > Join <B>(DbSet <B> right, Func <DbSet <T>, DbSet <B>, WhereJoinOnNode> on) { var dbset = new DbSetComplex <T, B, Tuple <T, B> >(this.dbContext, this, right, on, (x, y) => Tuple.Create(x, y)); return(dbset); }