public override void SetPreviousVersion(DBXml dbXml, Dictionary <string, string> previousVersions) { if (dbXml.Table(MainObjectTag).Rows.Count() == 0) { return; } if (dbXml.Table(MainObjectTag).Rows.Any(r => r.Action == DBRowState.Delete)) { PackageExecutionHelper.SetPreviousVersion(dbXml, previousVersions, this.MainObjectTag); } else { base.SetPreviousVersion(dbXml, previousVersions); } }
public override void SetPreviousVersion(DBXml dbXml, Dictionary <string, string> previousVersions) { PackageExecutionHelper.SetPreviousVersion(dbXml, previousVersions, this.MainObjectTag); }