Inheritance: StatementBase
 public InsertTopPercentIntoTable(
     InsertStatement statement,
     Expression percent,
     Table table,
     IEnumerable <Column> columnList)
     : base(statement)
 {
     if (statement == null)
     {
         throw new ArgumentNullException("statement");
     }
     if (percent == null)
     {
         throw new ArgumentNullException("percent");
     }
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     if (columnList == null)
     {
         throw new ArgumentNullException("columnList");
     }
     this.Percent    = percent;
     this.Table      = table;
     this.ColumnList = columnList;
 }
 public InsertValuesStart(InsertStatement statement, IEnumerable<Expression> expressionList)
     : base(statement)
 {
     if (expressionList == null) {
         throw new ArgumentNullException("expressionList");
     }
     this.ExpressionList = expressionList;
 }
 public InsertIntoTableAdvanced(InsertStatement statement, Table table)
     : base(statement)
 {
     if (table == null) {
         throw new ArgumentNullException("table");
     }
     this.Table = table;
 }
Example #4
0
        public InsertIntoTableAdvanced InsertInto(Table table)
        {
            var stm    = new InsertStatement(this);
            var clause = new InsertIntoTableAdvanced(stm, table);

            stm.FirstFragment = clause;
            return(clause);
        }
Example #5
0
        public InsertClause InsertInto(Table table, params Column[] columns)
        {
            var stm    = new InsertStatement(this);
            var clause = new InsertIntoTable(stm, table, columns);

            stm.FirstFragment = clause;
            return(clause);
        }
Example #6
0
        public InsertClause InsertTopPercentInto(Expression percent, Table table, params Column[] columns)
        {
            var statement = new InsertStatement(this);
            var clause    = new InsertTopPercentIntoTable(statement, percent, table, columns);

            statement.FirstFragment = clause;
            return(clause);
        }
Example #7
0
 public InsertIntoTableAdvanced(InsertStatement statement, Table table)
     : base(statement)
 {
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     this.Table = table;
 }
Example #8
0
 public InsertValuesStart(InsertStatement statement, IEnumerable <Expression> expressionList)
     : base(statement)
 {
     if (expressionList == null)
     {
         throw new ArgumentNullException("expressionList");
     }
     this.ExpressionList = expressionList;
 }
 public InsertTopIntoTable(
     InsertStatement statement,
     Expression top,
     Table table,
     IEnumerable<Column> columnList)
     : base(statement)
 {
     this.Top = top;
     this.Table = table;
     this.ColumnList = columnList;
 }
Example #10
0
 public InsertTopIntoTable(
     InsertStatement statement,
     Expression top,
     Table table,
     IEnumerable <Column> columnList)
     : base(statement)
 {
     this.Top        = top;
     this.Table      = table;
     this.ColumnList = columnList;
 }
Example #11
0
 public InsertIntoTable(InsertStatement statement, Table table, IEnumerable<Column> columnList)
     : base(statement)
 {
     if (table == null) {
         throw new ArgumentNullException("table");
     }
     if (columnList == null) {
         throw new ArgumentNullException("columnList");
     }
     this.Table = table;
     this.ColumnList = columnList;
 }
Example #12
0
 public InsertIntoTable(InsertStatement statement, Table table, IEnumerable <Column> columnList)
     : base(statement)
 {
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     if (columnList == null)
     {
         throw new ArgumentNullException("columnList");
     }
     this.Table      = table;
     this.ColumnList = columnList;
 }
 public InsertTopPercentIntoTable(
     InsertStatement statement,
     Expression percent,
     Table table,
     IEnumerable<Column> columnList)
     : base(statement)
 {
     if (statement == null) {
         throw new ArgumentNullException("statement");
     }
     if (percent == null) {
         throw new ArgumentNullException("percent");
     }
     if (table == null) {
         throw new ArgumentNullException("table");
     }
     if (columnList == null) {
         throw new ArgumentNullException("columnList");
     }
     this.Percent = percent;
     this.Table = table;
     this.ColumnList = columnList;
 }