コード例 #1
0
        public override void DeleteItemByGroup(string groupID)
        {
            IList <VersionItem> versionsToDelete = VersionManager.GetAllVersions(groupID);

            foreach (VersionItem versToDelete in versionsToDelete)
            {
                Item item = NewsManager.GetItem(versToDelete.ItemId);
                NewsManager.DeleteItem(item);
                VersionManager.DeleteVersionItem(versToDelete);
            }
        }