示例#1
0
        /// <summary>
        /// Updates this instance of item. Returns true on success.
        /// </summary>
        /// <returns>bool</returns>
        private bool Update()
        {
            bool result = DBItems.Update(
                this.siteGuid,
                this.featureGuid,
                this.moduleGuid,
                this.moduleID,
                this.definitionGuid,
                this.itemGuid,
                this.sortOrder,
                this.createdUtc,
                this.lastModUtc);

            if (result)
            {
                ContentChangedEventArgs e = new ContentChangedEventArgs();
                OnContentChanged(e);
            }

            return(result);
        }
示例#2
0
        /// <summary>
        /// Updates this instance of item. Returns true on success.
        /// </summary>
        /// <returns>bool</returns>
        private bool Update()
        {
            bool result = DBItems.Update(
                siteGuid,
                featureGuid,
                moduleGuid,
                moduleID,
                definitionGuid,
                itemGuid,
                sortOrder,
                createdUtc,
                lastModUtc,
                viewRoles,
                editRoles);

            if (result)
            {
                ContentChangedEventArgs e = new ContentChangedEventArgs();
                OnContentChanged(e);
            }

            return(result);
        }