AlterUserStatement

We found 10 examples in language CSharp for this search. You will see 16 fragments of code.

		[Theory]
		[InlineData("user1", UserStatus.Unlocked)]
		public async void AdminSetsAccountStatus(string userName, UserStatus status) {
			var statement = new AlterUserStatement(userName, new SetAccountStatusAction(status));
			var result = await statement.ExecuteAsync(adminContext);

			Assert.NotNull(result);
			Assert.True(result.IsEmpty());
			Assert.Equal(userName, userSet);
			Assert.Equal(status, newStatus);
		}

		[Theory]
		[InlineData("user1", UserStatus.Unlocked)]
		public async void UserSetsAccountStatus(string userName, UserStatus status) {
			var statement = new AlterUserStatement(userName, new SetAccountStatusAction(status));

			await Assert.ThrowsAsync<UnauthorizedAccessException>(() => statement.ExecuteAsync(userContext));
		}

		[Theory]
		[InlineData("user1", UserStatus.Locked)]
		public async void UserInAdminRoleSetsAccountStatus(string userName, UserStatus status) {
			var statement = new AlterUserStatement(userName, new SetAccountStatusAction(status));
			var result = await statement.ExecuteAsync(userInAdminRoleContext);


			Assert.NotNull(result);
			Assert.True(result.IsEmpty());
			Assert.Equal(userName, userSet);
			Assert.Equal(status, newStatus);
		}

		[Theory]
		[InlineData("user1", UserStatus.Locked, "ALTER USER user1 SET ACCOUNT STATUS LOCKED")]
		[InlineData("user32", UserStatus.Unlocked, "ALTER USER user32 SET ACCOUNT STATUS UNLOCKED")]
		public void SetAccountStatus_ToString(string userName, UserStatus status, string expected) {
			var statement = new AlterUserStatement(userName, new SetAccountStatusAction(status));

			Assert.Equal(expected, statement.ToSqlString());
		}


		[Theory]
		[InlineData("user1", "abc1234")]
		public async void AdminSetsAccountPassword(string userName, string password) {
			var statement = new AlterUserStatement(userName, new SetPasswordAction(password));
			var result = await statement.ExecuteAsync(adminContext);

			Assert.NotNull(result);
			Assert.True(result.IsEmpty());
			Assert.Equal(userName, userSet);
			Assert.Equal(password, newPassword);
		}

		[Theory]
		[InlineData("user1", "abc1234")]
		public async void UserSetsAccountStatus(string userName, string password) {
			var statement = new AlterUserStatement(userName, new SetPasswordAction(password));

			await Assert.ThrowsAsync<UnauthorizedAccessException>(() => statement.ExecuteAsync(userContext));
		}

		[Theory]
		[InlineData("user1", "abc1234")]
		public async void UserInAdminRoleSetsAccountStatus(string userName, string password) {
			var statement = new AlterUserStatement(userName, new SetPasswordAction(password));
			var result = await statement.ExecuteAsync(userInAdminRoleContext);


			Assert.NotNull(result);
			Assert.True(result.IsEmpty());
			Assert.Equal(userName, userSet);
			Assert.Equal(password, newPassword);
		}

		[Theory]
		[InlineData("user1", "abc1234", "ALTER USER user1 SET PASSWORD 'abc1234'")]
		public void SetAccountStatus_ToString(string userName, string password, string expected) {
			var statement = new AlterUserStatement(userName, new SetPasswordAction(password));

			Assert.Equal(expected, statement.ToSqlString());
		}

////This file was generated 6/24/2017 12:42:29 AM
using System;
using System.Collections.Generic;

namespace SqlT.SqlTDom
{
    [Serializable()]
    public class AlterUserStatement : UserStatement, ISqlTDomAlterStatement
    {
    }
}

		public override void ExplicitVisit(AlterUserStatement fragment) { _fragments.Add(fragment); }

        public override void Visit(AlterUserStatement node) { this.action(node); }

using Main.Setup.ReformatRelated;
using Microsoft.SqlServer.TransactSql.ScriptDom;
using SqlServerValidator.Visitor;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqlServerValidator.Formatter.Visitors.Format
{
/*
    public class StatementFormatVisitor : ReplaceSqlFragmentVisitor
    {
        private readonly Reformat _reformat;
        private readonly int _startPadding;

        public StatementFormatVisitor(
            Reformat reformat
            )
        {
            if (reformat is null)
            {
                throw new ArgumentNullException(nameof(reformat));
            }
            _reformat = reformat;
            _startPadding = 0;
        }

        private StatementFormatVisitor(
            Reformat reformat,
            int startPadding
            )
        {
            if (reformat is null)
            {
                throw new ArgumentNullException(nameof(reformat));
            }
            _reformat = reformat;
            _startPadding = startPadding;
        }

        public FormatVisitor CreateChild(int addition)
        {
            return new FormatVisitor(
                _reformat,
                _startPadding + addition
                );
        }

        private string GetPrefix(int addition = 0)
        {
            var padding = _startPadding + addition;
            if (padding != 0)
            {
                return Environment.NewLine + new string(' ', padding * _reformat.PaddingStep);
            }

            return Environment.NewLine;
        }

        private void Process(TSqlFragment node)
        {
            if (node is null)
            {
                throw new ArgumentNullException(nameof(node));
            }

            node.AcceptChildren(this);
        }


        public override void ExplicitVisit(InsertStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(DeleteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterTableAlterIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterDatabaseModifyNameStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterDatabaseRemoveFileStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseRemoveFileGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseAddFileGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseAddFileStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseRebuildLogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseCollateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseModifyFileStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseScopedConfigurationClearStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseScopedConfigurationSetStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseScopedConfigurationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterDatabaseModifyFileGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseSetStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateCertificateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterCertificateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateContractStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateRemoteServiceBindingStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreatePartitionSchemeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterRemoteServiceBindingStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreatePartitionFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateCredentialStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CredentialStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterEndpointStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateEndpointStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateAggregateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterMessageTypeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateMessageTypeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterCredentialStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateAsymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RestoreStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupTransactionLogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupDatabaseStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DbccStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(InsertBulkStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BulkInsertStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateFullTextIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterApplicationRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ApplicationRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(MasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateEventNotificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateApplicationRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateServerRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSynonymStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTypeUddtStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTypeUdtStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTypeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(TryCatchStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(EnableDisableTriggerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableTriggerModificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSelectiveXmlIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateXmlIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(IndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterQueueStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(QueueStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateRouteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterRouteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RouteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateQueueStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ReconfigureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CheckpointStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(KillStatsJobStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(KillQueryNotificationSubscriptionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(KillStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UseStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ThrowStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ShutdownStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RaiseErrorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSchemaStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropTriggerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropRuleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropDefaultStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropViewStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropProcedureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RaiseErrorLegacyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetUserStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetOnOffStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateDatabaseStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetErrorLevelStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetIdentityInsertStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetTextSizeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetTransactionIsolationLevelStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetOffsetsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetRowCountStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetStatisticsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(PredicateSetStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SetCommandStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropServerRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropStatisticsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DeclareCursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ReturnStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UpdateStatisticsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateStatisticsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterUserStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateUserStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UserStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(OpenCursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropChildObjectsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropDatabaseStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropObjectsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CloseCursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropUnownedObjectStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(FetchCursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DeallocateCursorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CloseMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(OpenMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CloseSymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(OpenSymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterDatabaseEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateDatabaseEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DatabaseEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropServerAuditStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropDatabaseEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropWorkloadGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterWorkloadGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateWorkloadGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(WorkloadGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerAuditStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropExternalResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateExternalResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExternalResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterExternalResourcePoolStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateServerAuditStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ServerAuditStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropServerAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DataModificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(TSqlStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RestoreMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RestoreServiceMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupServiceMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BrokerPriorityStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(MergeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateServerAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropDatabaseAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterDatabaseAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateDatabaseAuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AuditSpecificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTypeTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateBrokerPriorityStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterBrokerPriorityStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterAvailabilityGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateAvailabilityGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AvailabilityGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationSetSoftNumaStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationSetHadrClusterStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationSetFailoverClusterPropertyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationSetDiagnosticsLogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateColumnStoreIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DiskStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropFederationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterFederationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateFederationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropAvailabilityGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UseFederationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateEventSessionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(EventSessionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterCryptographicProviderStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateCryptographicProviderStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropFullTextStopListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterFullTextStopListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateFullTextStopListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropBrokerPriorityStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropCryptographicProviderStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationSetBufferPoolExtensionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServerConfigurationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSpatialIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterResourceGovernorStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropEventSessionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterEventSessionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BackupCertificateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterSymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(FullTextCatalogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServiceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateServiceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterFullTextCatalogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateFullTextCatalogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropQueueStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropMessageTypeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropEndpointStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropContractStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RevertStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterLoginAddDropCredentialStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterLoginEnableDisableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropRemoteServiceBindingStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterLoginOptionsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterLoginStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropRouteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BeginDialogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BeginConversationTimerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterServiceMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterAsymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterSchemaStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(WaitForSupportedStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropServiceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SendStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(GetConversationGroupStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(MoveConversationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(EndConversationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExecuteAsStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropEventNotificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSignatureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AddSignatureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ReceiveStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateLoginStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropUserStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropTypeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropLoginStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropFullTextIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropFullTextCatalogStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropApplicationRoleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropAggregateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSynonymStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropPartitionSchemeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropPartitionFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropAssemblyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropAsymmetricKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropCredentialStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSearchPropertyListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterSearchPropertyListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSearchPropertyListStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropCertificateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterFullTextIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterPartitionSchemeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterPartitionFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableSwitchStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(PrintStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropColumnMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ColumnEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateColumnEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterColumnEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropColumnEncryptionKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExternalTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSequenceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterSequenceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSequenceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DeclareTableVariableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SecurityPolicyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SequenceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSecurityPolicyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterSecurityPolicyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropSecurityPolicyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateColumnMasterKeyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(IfStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(LabelStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(TransactionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(WhileStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(GoToStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BeginEndAtomicBlockStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BeginTransactionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BreakStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(BeginEndBlockStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CommitTransactionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UpdateStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RollbackTransactionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ContinueStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateDefaultStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateOrAlterFunctionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateRuleStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SaveTransactionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateSchemaStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(WaitForStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ReadTextStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(UpdateTextStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(WriteTextStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(TextModificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(LineNoStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(GrantStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DenyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(RevokeStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterAuthorizationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SecurityStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateProcedureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropExternalDataSourceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterExternalDataSourceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateOrAlterProcedureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableSetStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableFileTableNamespaceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateExternalDataSourceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterAssemblyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExternalFileFormatStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateExternalFileFormatStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTriggerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateOrAlterTriggerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropExternalFileFormatStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AssemblyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTriggerStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateAssemblyStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterProcedureStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExternalDataSourceStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateViewStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateXmlSchemaCollectionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(ExecuteStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateExternalTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableRebuildStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterXmlSchemaCollectionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateOrAlterViewStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropXmlSchemaCollectionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableChangeTrackingModificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableConstraintModificationStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableAlterPartitionStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(DropExternalTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterViewStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(AlterTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(SelectStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(DeclareVariableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(SetVariableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(DropIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(CreateIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }
        public override void ExplicitVisit(CreateTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(DropTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterTableAlterColumnStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterTableAddTableElementStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterTableDropTableElementStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(AlterIndexStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

        public override void ExplicitVisit(TruncateTableStatement node)
        {
            Debug.WriteLine(node.GetType().Name.PadRight(40) + node.ToSourceSqlString());
            Process(node);
        }

    }
//*/
}

        public override void ExplicitVisit(ScriptDom.AlterUserStatement node) { }

        public override void ExplicitVisit(AlterUserStatement node) { this.action(node); }


        public override void ExplicitVisit(AlterUserStatement node)
        {
            MakeTree(node, base.ExplicitVisit);
        }

        public override void ExplicitVisit(AlterUserStatement node) { node.AcceptChildren(this); }

Microsoft.SqlServer.TransactSql.ScriptDom.AlterUserStatement : UserStatement

Constructors :

public AlterUserStatement()

Methods :

public Void Accept(TSqlFragmentVisitor visitor = )
public Void AcceptChildren(TSqlFragmentVisitor visitor = )
public Identifier get_Name()
public Void set_Name(Identifier value = )
public IList<PrincipalOption> get_UserOptions()
public Int32 get_StartOffset()
public Int32 get_FragmentLength()
public Int32 get_StartLine()
public Int32 get_StartColumn()
public Int32 get_FirstTokenIndex()
public Void set_FirstTokenIndex(Int32 value = )
public Int32 get_LastTokenIndex()
public Void set_LastTokenIndex(Int32 value = )
public IList<TSqlParserToken> get_ScriptTokenStream()
public Void set_ScriptTokenStream(IList<TSqlParserToken> value = )
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()