Inheritance: UpdateClause
Exemplo n.º 1
0
 public void UpdateTopTable(SqlFragment parent, UpdateTopTable updateTopTable)
 {
     this.Script.Append("UPDATE TOP(");
     this.Script.AppendFragment(updateTopTable.Top, parent, this);
     this.Script.Append(")");
     this.Script.AppendFragment(updateTopTable.Table, parent, this);
 }
Exemplo n.º 2
0
        public UpdateClause UpdateTop(Expression top, Table table)
        {
            var stetment = new UpdateStatement(this);
            var clause   = new UpdateTopTable(stetment, top, table);

            stetment.FirstFragment = clause;
            return(clause);
        }