/// <summary>
        /// Update into XMAdvertisingFeeDetail
        /// </summary>
        /// <param name="xmadvertisingfeedetail">XMAdvertisingFeeDetail</param>
        public void UpdateXMAdvertisingFeeDetail(XMAdvertisingFeeDetail xmadvertisingfeedetail)
        {
            if (xmadvertisingfeedetail == null)
            {
                return;
            }

            if (this._context.IsAttached(xmadvertisingfeedetail))
            {
                this._context.XMAdvertisingFeeDetails.Attach(xmadvertisingfeedetail);
            }

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

            if (!this._context.IsAttached(xmadvertisingfeedetail))
            {
                this._context.XMAdvertisingFeeDetails.AddObject(xmadvertisingfeedetail);
            }

            this._context.SaveChanges();
        }