示例#1
0
 public ResTarget(string sql, SqlExpression value, RawToken @as, SqlSimpleName name)
     : base(sql, CreateChildren(value, name))
 {
     this.Value = value;
     this.As    = @as.WithParent(this);
     this.Name  = name;
 }
示例#2
0
 public SqlBinaryExpression(string sql, SqlExpression left, RawToken @operator, SqlExpression right)
     : base(sql, CreateChildren(left, right))
 {
     this.Left     = left;
     this.Operator = @operator.WithParent(this);
     this.Right    = right;
 }
 public SqlParenthesizedExpression(string sql, RawToken openParen, SqlExpression expression, RawToken closeParen)
     : base(sql, CreateChildren(expression))
 {
     this.OpenParen  = openParen.WithParent(this);
     this.Expression = expression;
     this.CloseParen = closeParen.WithParent(this);
 }
示例#4
0
 public SqlQualifiedName(string sql, SqlSimpleName prefix, RawToken dot, SqlSimpleName identifier)
     : base(sql, CreateChildren(prefix, identifier))
 {
     this.Prefix     = prefix;
     this.Dot        = dot.WithParent(this);
     this.Identifier = identifier;
 }
示例#5
0
 public SqlInvocation(string sql, SqlName name, RawToken openParen, SqlArgumentList argumentList, RawToken closeParen)
     : base(sql, CreateChildren(name, argumentList))
 {
     this.Name         = name;
     this.OpenParen    = openParen.WithParent(this);
     this.ArgumentList = argumentList;
     this.CloseParen   = closeParen.WithParent(this);
 }
示例#6
0
 public SqlPrefixUnaryExpression(string sql, RawToken @operator, SqlExpression operand)
     : base(sql, CreateChildren(operand))
 {
     this.Operator = @operator.WithParent(this);
     this.Operand  = operand;
 }
示例#7
0
 public WhereClause(string sql, RawToken keyword, SqlBinaryExpression condition)
     : base(sql, CreateChildren(condition))
 {
     this.Keyword   = keyword.WithParent(this);
     this.Condition = condition;
 }
示例#8
0
 public FromClause(string sql, RawToken keyword, RangeVar rangeVar)
     : base(sql, CreateChildren(rangeVar))
 {
     this.Keyword  = keyword.WithParent(this);
     this.RangeVar = rangeVar;
 }
示例#9
0
 public SqlParameter(string sql, RawToken at, SqlSimpleName identifier)
     : base(sql, CreateChildren(identifier))
 {
     this.At         = at.WithParent(this);
     this.Identifier = identifier;
 }