/// <summary> /// Visits the given <paramref name="removeTableNode"/>. /// </summary> /// <param name="removeTableNode"></param> public override void Visit(IRemoveTableNode removeTableNode) { Visit(removeTableNode.ChildNodes); }
public override void Visit(IRemoveTableNode removeTableNode) { textWriter.Write("remove table {0}", GetIdentifier(removeTableNode.Name)); WriteProperties(removeTableNode); VisitBlock(removeTableNode); }
/// <summary> /// Visits the given <paramref name="removeTableNode"/>. /// </summary> /// <param name="removeTableNode"></param> public override void Visit(IRemoveTableNode removeTableNode) { TextWriter.WriteLine("drop table {0};", Platform.Dialect.EscapeIdentifier(removeTableNode.Name)); }
/// <summary> /// Visits the given <paramref name="removeTableNode"/>. /// </summary> /// <param name="removeTableNode"></param> public override void Visit(IRemoveTableNode removeTableNode) { Environment.Schema.RemoveTable(removeTableNode.Name); }