/// <summary>
        /// Update into XMApplicationExchange
        /// </summary>
        /// <param name="xmapplicationexchange">XMApplicationExchange</param>
        public void UpdateXMApplicationExchange(XMApplicationExchange xmapplicationexchange)
        {
            if (xmapplicationexchange == null)
            {
                return;
            }

            if (this._context.IsAttached(xmapplicationexchange))
            {
                this._context.XMApplicationExchanges.Attach(xmapplicationexchange);
            }

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

            if (!this._context.IsAttached(xmapplicationexchange))
            {
                this._context.XMApplicationExchanges.AddObject(xmapplicationexchange);
            }

            this._context.SaveChanges();
        }