public void ProcessDoChangeScripts(Int64 lastChangeToApply, List <Int64> appliedChanges)
{
if (lastChangeToApply != Int64.MaxValue)
{
Info("Only applying changes up and including change script #" + lastChangeToApply);
}
Info("Changes currently applied to database:\n " + prettyPrinter.Format(appliedChanges));
List <ChangeScript> doChangeScripts = changeScriptRepository.GetOrderedListOfDoChangeScripts();
Info("Scripts available:\n " + prettyPrinter.FormatChangeScriptList(doChangeScripts));
changeScriptExecuter.ApplyDeltaFragmentHeaderOrFooterSql(schemaManager.GenerateVersionCheck());
List <Int64> changesToApply = LoopThruDoScripts(lastChangeToApply, doChangeScripts, appliedChanges);
Info("To be applied:\n " + prettyPrinter.Format(changesToApply));
}