/// <summary>
        /// Update into XMBusinessDataDetail
        /// </summary>
        /// <param name="xmbusinessdatadetail">XMBusinessDataDetail</param>
        public void UpdateXMBusinessDataDetail(XMBusinessDataDetail xmbusinessdatadetail)
        {
            if (xmbusinessdatadetail == null)
            {
                return;
            }

            if (this._context.IsAttached(xmbusinessdatadetail))
            {
                this._context.XMBusinessDataDetails.Attach(xmbusinessdatadetail);
            }

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

            if (!this._context.IsAttached(xmbusinessdatadetail))
            {
                this._context.XMBusinessDataDetails.AddObject(xmbusinessdatadetail);
            }

            this._context.SaveChanges();
        }