/// <summary>
        /// 修改排序规则名称。
        /// </summary>
        /// <param name="command">当前命令。</param>
        /// <param name="builder">SQL语句构建实例。</param>
        protected override void Generate(RenameSequenceCommand command, IndentedStringBuilder builder)
        {
            Check.NotNull(command, nameof(command));
            Check.NotNull(builder, nameof(builder));

            var separate = false;
            var name = command.Name;
            if (command.NewName != null)
            {
                var qualifiedName = new StringBuilder();
                if (command.Schema != null)
                {
                    qualifiedName
                        .Append(command.Schema)
                        .Append(".");
                }
                qualifiedName.Append(Prefix(command.Name));

                Rename(qualifiedName.ToString(), Prefix(command.NewName), builder);

                separate = true;
                name = command.NewName;
            }

            if (command.NewSchema != null)
            {
                if (separate)
                {
                    builder.AppendLine(Sql.BatchCommandSeparator);
                }

                Transfer(command.NewSchema, command.Schema, name, builder);
            }
        }
 /// <summary>
 /// 修改排序规则名称。
 /// </summary>
 /// <param name="command">当前命令。</param>
 /// <param name="builder">SQL语句构建实例。</param>
 protected abstract void Generate(RenameSequenceCommand command, IndentedStringBuilder builder);