public override void VisitAfter(DeleteStmt deleteStmt) { if (IsPlaceHolderPredicate(deleteStmt.Where)) { deleteStmt.Where = Place((PlaceHolderPredicate)deleteStmt.Where); } }
public override void VisitOnDelete(DeleteStmt deleteStmt) { if (this.FindTableAliasName(deleteStmt.Table, _oldTableAliasName) || this.FindTableAliasName(deleteStmt.Table2, _oldTableAliasName)) { // 変更後のテーブル別名が既にあるテーブル別名と重複する場合は、末尾に"_"を付加する while (this.FindTableAliasName(deleteStmt.Table, _newTableAliasName) || this.FindTableAliasName(deleteStmt.Table2, _oldTableAliasName)) { _newTableAliasName += "_"; } _scopeStack.Push(new Scope(FromOrResult.FromQuery, true)); } else { _scopeStack.Push(new Scope(FromOrResult.FromQuery, false)); } }
virtual public void VisitOnDelete(DeleteStmt deleteStmt) { }
virtual public void VisitAfter(DeleteStmt deleteStmt) { }
virtual public void VisitBefore(DeleteStmt deleteStmt) { }
public override void VisitBefore(DeleteStmt deleteStmt) { _updateTableStmt = true; }
public override void VisitAfter(DeleteStmt deleteStmt) { deleteStmt.Where = this.AddPredicate(deleteStmt.Where); --_queryNestLevel; }
public override void VisitOnWhere(DeleteStmt deleteStmt, int offset) { _predicate = deleteStmt.Where; }
public void VisitOnWhere(DeleteStmt deleteStmt, int offset) { _visitor.VisitOnWhere(deleteStmt, offset); }
public void VisitOnFrom2(DeleteStmt deleteStmt, int offset) { _visitor.VisitOnFrom2(deleteStmt, offset); }
public void VisitOnDelete(DeleteStmt deleteStmt) { _visitor.VisitOnDelete(deleteStmt); }
public void VisitAfter(DeleteStmt deleteStmt) { _visitor.VisitAfter(deleteStmt); }
public void VisitBefore(DeleteStmt deleteStmt) { _visitor.VisitBefore(deleteStmt); }
virtual public void VisitOnFrom2(DeleteStmt deleteStmt, int offset) { }
public override void VisitBefore(DeleteStmt deleteStmt) { ++_queryNestLevel; }
virtual public void VisitOnWhere(DeleteStmt deleteStmt, int offset) { }
public override void VisitBefore(DeleteStmt deleteStmt) { deleteStmt.Where = null; }