public INode Clone() { ExpressionItem expressionItem = new ExpressionItem(m_expression.Clone()); if (m_next != null) { expressionItem.Add((ExpressionItem)(m_next.Clone())); } return(expressionItem); }
public INode Clone() { GroupByClause groupByClause = new GroupByClause(); groupByClause.All = m_all; if (m_expression != null) { groupByClause.Expression = (ExpressionItem)(m_expression.Clone()); } if (m_having != null) { groupByClause.Having = (IExpression)(m_having.Clone()); } return(groupByClause); }
public INode Clone() { FunctionCall functionCall = new FunctionCall(m_name); if (m_expressionArguments != null) { functionCall.ExpressionArguments = (ExpressionItem)(m_expressionArguments.Clone()); } functionCall.Distinct = m_distinct; if (m_star) { functionCall.Star = Wildcard.Value; } return(functionCall); }
public INode Clone() { InsertStatement insertStatement = new InsertStatement(); if (m_table != null) { insertStatement.Table = (DbObject)(m_table.Clone()); } if (m_columnNames != null) { insertStatement.ColumnNames = (AliasedItem)(m_columnNames.Clone()); } if (m_columnValues != null) { insertStatement.ColumnValues = (ExpressionItem)(m_columnValues.Clone()); } return(insertStatement); }