Inheritance: StatementBase
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
        public InsertIntoTableAdvanced InsertInto(Table table)
        {
            var stm    = new InsertStatement(this);
            var clause = new InsertIntoTableAdvanced(stm, table);

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