Exemplo n.º 1
0
 public static SelectBuilder Join <TEntity1, TEntity2, TJoin>(this SelectBuilder builder,
                                                              JoinType joinType, string alias, Expression <Func <TEntity1, TEntity2, TJoin, bool> > condition)
 {
     return(builder.Join(joinType, alias, typeof(TJoin),
                         new[] { typeof(TEntity1), typeof(TEntity2) }, condition));
 }
Exemplo n.º 2
0
 public static SelectBuilder Join <TEntity1, TEntity2>(this SelectBuilder builder,
                                                       Expression <Func <TEntity1, TEntity2, bool> > condition)
 {
     return(builder.Join(JoinType.Inner, builder.GetNextTableAlias(), condition));
 }
Exemplo n.º 3
0
 public static SelectBuilder Join <TEntity1, TEntity2, TJoin>(this SelectBuilder builder,
                                                              string alias, Expression <Func <TEntity1, TEntity2, TJoin, bool> > condition)
 {
     return(builder.Join(JoinType.Inner, alias, condition));
 }