Example #1
0
        public INSERTINTO ValuePair(COLUMN column, Expression value)
        {
            this.columns.Add(column);
            this.values.Add(value);

            return(this);
        }
Example #2
0
        public UPDATE WHEREEQUALS(COLUMN col, Expression expression)
        {
            this.where = new SqlWrapper.WHERE(new OperatorExpression()
                                              .addExpression(col)
                                              .Equals()
                                              .addExpression(expression)
                                              );

            return(this);
        }
Example #3
0
        public SELECT WHEREEquals(COLUMN column, Expression expression)
        {
            this.where = new SqlWrapper.WHERE(
                new OperatorExpression(
                    column,
                    new Operator(EOperatorType.Equals),
                    expression
                    )
                );

            return(this);
        }
Example #4
0
 public UpdatePair(COLUMN column, Expression value)
 {
     this.column = column;
     this.value  = value;
 }
Example #5
0
        public UPDATE addValuePair(COLUMN column, Expression value)
        {
            this.pairs.Add(new UpdatePair(column, value));

            return(this);
        }
Example #6
0
 public AS(Expression expression, COLUMN newColumn)
 {
     this.expression = expression;
     this.newColumn  = newColumn;
 }