Наследование: StatementBase
Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #4
0
        public InsertIntoTableAdvanced InsertInto(Table table)
        {
            var stm    = new InsertStatement(this);
            var clause = new InsertIntoTableAdvanced(stm, table);

            stm.FirstFragment = clause;
            return(clause);
        }
Пример #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);
        }
Пример #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);
        }
Пример #7
0
 public InsertIntoTableAdvanced(InsertStatement statement, Table table)
     : base(statement)
 {
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     this.Table = table;
 }
Пример #8
0
 public InsertValuesStart(InsertStatement statement, IEnumerable <Expression> expressionList)
     : base(statement)
 {
     if (expressionList == null)
     {
         throw new ArgumentNullException("expressionList");
     }
     this.ExpressionList = expressionList;
 }
Пример #9
0
 public InsertTopIntoTable(
     InsertStatement statement,
     Expression top,
     Table table,
     IEnumerable<Column> columnList)
     : base(statement)
 {
     this.Top = top;
     this.Table = table;
     this.ColumnList = columnList;
 }
Пример #10
0
 public InsertTopIntoTable(
     InsertStatement statement,
     Expression top,
     Table table,
     IEnumerable <Column> columnList)
     : base(statement)
 {
     this.Top        = top;
     this.Table      = table;
     this.ColumnList = columnList;
 }
Пример #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;
 }
Пример #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;
 }