Inheritance: StatementBase
Beispiel #1
0
        public UpdateClause UpdateTopPercent(Expression percent, Table table)
        {
            var stetment = new UpdateStatement(this);
            var clause   = new UpdateTopPercentTable(stetment, percent, table);

            stetment.FirstFragment = clause;
            return(clause);
        }
Beispiel #2
0
        public UpdateClause Update(Table table)
        {
            var statement = new UpdateStatement(this);
            var clause    = new UpdateTable(statement, table);

            statement.FirstFragment = clause;
            return(clause);
        }
 public UpdateTopPercentTable(UpdateStatement statement, Expression topPercent, Table table)
     : base(statement)
 {
     if (statement == null) {
         throw new ArgumentNullException("statement");
     }
     if (table == null) {
         throw new ArgumentNullException("table");
     }
     this.TopPercent = topPercent;
     this.Table = table;
 }
Beispiel #4
0
 public UpdateTopPercentTable(UpdateStatement statement, Expression topPercent, Table table)
     : base(statement)
 {
     if (statement == null)
     {
         throw new ArgumentNullException("statement");
     }
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     this.TopPercent = topPercent;
     this.Table      = table;
 }