示例#1
0
        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);
            }
        }
示例#2
0
 public override void SetPreviousVersion(DBXml dbXml, Dictionary <string, string> previousVersions)
 {
     PackageExecutionHelper.SetPreviousVersion(dbXml, previousVersions, this.MainObjectTag);
 }