ToString() public abstract méthode

public abstract ToString ( ) : string
Résultat string
        IEnumerable <string> ExecuteCommand(IDatabase database, SchemaMigrationCommand command)
        {
            if (command.Unsafe)
            {
                logger.Warning("Unsafe migration command '{0}' was skipped.", command.ToString());
                yield break;
            }

            logger.Information("Executing migration command '{0}'.", command.ToString());

            command.Execute(database);

            if (command.RequiresReprojectionOf != null)
            {
                yield return(command.RequiresReprojectionOf);
            }
        }
        IEnumerable<string> ExecuteCommand(IDatabase database, SchemaMigrationCommand command)
        {
            if (command.Unsafe)
            {
                logger.Warning("Unsafe migration command '{0}' was skipped.", command.ToString());
                yield break;
            }

            logger.Information("Executing migration command '{0}'.", command.ToString());

            command.Execute(database);

            if (command.RequiresReprojectionOf != null)
                yield return command.RequiresReprojectionOf;
        }