internal override SqlStatement VisitDelete(SqlDelete sd)
            {
                bool saveTop = this.topLevel;

                this.topLevel = false;
                base.VisitDelete(sd);
                this.topLevel = saveTop;
                return(sd);
            }
Exemple #2
0
            internal override SqlStatement VisitDelete(SqlDelete sd)
            {
                Scope save = this.CurrentScope;

                this.CurrentScope = new Scope(sd, this.CurrentScope.ContainingScope);
                base.VisitDelete(sd);
                this.CurrentScope = save;
                return(sd);
            }
 internal override SqlStatement VisitDelete(SqlDelete sd)
 {
     return(new SqlDelete((SqlSelect)this.Visit(sd.Select), sd.SourceExpression));
 }
Exemple #4
0
 internal virtual SqlStatement VisitDelete(SqlDelete delete)
 {
     delete.Select = this.VisitSequence(delete.Select);
     return(delete);
 }
Exemple #5
0
 internal override SqlStatement VisitDelete(SqlDelete sd) => new SqlDelete((SqlSelect)Visit(sd.Select), sd.SourceExpression);