public static SelectBuilder Where <TEntity>(this SelectBuilder builder, Expression <Func <TEntity, bool> > expression) { return(builder.Where(WhereOperator.And, expression)); }
public Order(SelectBuilder builder) : base(builder) { }
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)); }
public static SelectBuilder GroupBy <TEntity>(this SelectBuilder builder, params Expression <Func <TEntity, object> >[] expressions) { return(builder.GroupBy(new[] { typeof(TEntity) }, expressions)); }
public SelectFrom() { Builder = new SelectBuilder(); }
public static SelectBuilder Having <TEntity1, TEntity2>(this SelectBuilder builder, Expression <Func <TEntity1, TEntity2, bool> > expression) { return(builder.Having(WhereOperator.And, expression)); }
public static SelectBuilder Having <TEntity>(this SelectBuilder builder, WhereOperator preOperator, Expression <Func <TEntity, bool> > expression) { return(builder.Having(preOperator, new[] { typeof(TEntity) }, expression)); }
public static SelectBuilder Join <TEntity1, TEntity2>(this SelectBuilder builder, Expression <Func <TEntity1, TEntity2, bool> > condition) { return(builder.Join(JoinType.Inner, builder.GetNextTableAlias(), condition)); }
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)); }
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)); }