/// <summary>
        /// Update into PortalColumnNumber
        /// </summary>
        /// <param name="portalcolumnnumber">PortalColumnNumber</param>
        public void UpdatePortalColumnNumber(PortalColumnNumber portalcolumnnumber)
        {
            if (portalcolumnnumber == null)
            {
                return;
            }

            if (this._context.IsAttached(portalcolumnnumber))
            {
                this._context.PortalColumnNumbers.Attach(portalcolumnnumber);
            }

            this._context.SaveChanges();
        }
        /// <summary>
        /// Insert into PortalColumnNumber
        /// </summary>
        /// <param name="portalcolumnnumber">PortalColumnNumber</param>
        public void InsertPortalColumnNumber(PortalColumnNumber portalcolumnnumber)
        {
            if (portalcolumnnumber == null)
            {
                return;
            }

            if (!this._context.IsAttached(portalcolumnnumber))
            {
                this._context.PortalColumnNumbers.AddObject(portalcolumnnumber);
            }

            this._context.SaveChanges();
        }