Exemplo n.º 1
0
 private InsertValuesStmt(WithClause with
                          , bool isReplaceStmt
                          , ConflictType onConflict
                          , bool hasIntoKeyword
                          , Table table
                          , UnqualifiedColumnNames columns
                          , ValuesList valuesList
                          , UnqualifiedColumnNames conflictColumns
                          , string constraintName
                          , Assignments updateaAsignments
                          , Predicate updateWhere
                          , Comments comments)
 {
     this.Comments          = comments;
     this.With              = with;
     this.IsReplaceStmt     = isReplaceStmt;
     this.OnConflict        = onConflict;
     this.HasIntoKeyword    = hasIntoKeyword;
     this.Table             = table;
     this.Columns           = columns;
     this.ValuesList        = valuesList;
     this.ConflictColumns   = conflictColumns;
     this.ConstraintName    = constraintName;
     this.UpdateAssignments = updateaAsignments;
     this.UpdateWhere       = updateWhere;
     if (updateaAsignments == null && updateWhere != null)
     {
         throw new System.ArgumentException(
                   "UpdateaAsignments must be not null, if updateWhere is not null. ");
     }
 }
Exemplo n.º 2
0
 internal InsertValuesStmt(WithClause with
                           , bool isReplaceStmt
                           , ConflictType onConflict
                           , bool hasIntoKeyword
                           , Table table
                           , UnqualifiedColumnNames columns
                           , ValuesList valuesList
                           , string constraintName
                           , Assignments updateaAsignments
                           , Predicate updateWhere
                           , Comments comments)
     : this(with
            , isReplaceStmt
            , onConflict
            , hasIntoKeyword
            , table
            , columns
            , valuesList
            , null
            , constraintName
            , updateaAsignments
            , updateWhere
            , comments)
 {
 }
Exemplo n.º 3
0
 internal InsertValuesStmt(WithClause with
                           , bool isReplaceStmt
                           , ConflictType onConflict
                           , bool hasIntoKeyword
                           , Table table
                           , UnqualifiedColumnNames columns
                           , ValuesList valuesList
                           , Comments comments)
 {
     this.Comments       = comments;
     this.With           = with;
     this.IsReplaceStmt  = isReplaceStmt;
     this.OnConflict     = onConflict;
     this.HasIntoKeyword = hasIntoKeyword;
     this.Table          = table;
     this.Columns        = columns;
     this.ValuesList     = valuesList;
 }
Exemplo n.º 4
0
 internal InsertValuesStmt(WithClause with
                           , bool isReplaceStmt
                           , ConflictType onConflict
                           , bool hasIntoKeyword
                           , Table table
                           , UnqualifiedColumnNames columns
                           , ValuesList valuesList
                           , Comments comments)
     : this(with
            , isReplaceStmt
            , onConflict
            , hasIntoKeyword
            , table
            , columns
            , valuesList
            , null
            , null
            , null
            , null
            , comments)
 {
 }
Exemplo n.º 5
0
 virtual public void VisitAfter(WithClause withClause)
 {
 }
Exemplo n.º 6
0
 virtual public void VisitBefore(WithClause withClause)
 {
 }
Exemplo n.º 7
0
 public void VisitAfter(WithClause withClause)
 {
     _visitor.VisitAfter(withClause);
 }
Exemplo n.º 8
0
 public void VisitBefore(WithClause withClause)
 {
     _visitor.VisitBefore(withClause);
 }