/// <summary>
        /// Update into XMPdInfoProductDetails
        /// </summary>
        /// <param name="xmpdinfoproductdetails">XMPdInfoProductDetails</param>
        public void UpdateXMPdInfoProductDetails(XMPdInfoProductDetails xmpdinfoproductdetails)
        {
            if (xmpdinfoproductdetails == null)
            {
                return;
            }

            if (this._context.IsAttached(xmpdinfoproductdetails))
            {
                this._context.XMPdInfoProductDetails.Attach(xmpdinfoproductdetails);
            }

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

            if (!this._context.IsAttached(xmpdinfoproductdetails))
            {
                this._context.XMPdInfoProductDetails.AddObject(xmpdinfoproductdetails);
            }

            this._context.SaveChanges();
        }