/// <summary>
        /// Update into XMConsultationDetails
        /// </summary>
        /// <param name="xmconsultationdetails">XMConsultationDetails</param>
        public void UpdateXMConsultationDetails(XMConsultationDetails xmconsultationdetails)
        {
            if (xmconsultationdetails == null)
            {
                return;
            }

            if (this._context.IsAttached(xmconsultationdetails))
            {
                this._context.XMConsultationDetails.Attach(xmconsultationdetails);
            }

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

            if (!this._context.IsAttached(xmconsultationdetails))
            {
                this._context.XMConsultationDetails.AddObject(xmconsultationdetails);
            }

            this._context.SaveChanges();
        }