Exemplo n.º 1
0
 public static SelectBuilder Where <TEntity>(this SelectBuilder builder, Expression <Func <TEntity, bool> > expression)
 {
     return(builder.Where(WhereOperator.And, expression));
 }
Exemplo n.º 2
0
 public static SelectBuilder Where <TEntity1, TEntity2>(this SelectBuilder builder,
                                                        WhereOperator preOperator, Expression <Func <TEntity1, TEntity2, bool> > expression)
 {
     return(builder.Where(preOperator, new[] { typeof(TEntity1), typeof(TEntity2) }, expression));
 }