Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }