public ConditionBuilder Or(Action <ConditionBuilder> comparisons) { Or(); var where = new ConditionBuilder(); Items.Add(where); comparisons(where); return(this); }
ToDBCommand Join(string table, Action <ConditionBuilder> where, Join.JoinType joinType) { ConditionBuilder whereBuilder = new ConditionBuilder(); where (whereBuilder); Joins.Add(new Join { Table = new TableItem { Item = table }, On = whereBuilder, TypeOfJoin = joinType }); return(this); }