/// <summary>
        /// Update into XMDeliveryDetails
        /// </summary>
        /// <param name="xmdeliverydetails">XMDeliveryDetails</param>
        public void UpdateXMDeliveryDetails(XMDeliveryDetails xmdeliverydetails)
        {
            if (xmdeliverydetails == null)
            {
                return;
            }

            if (this._context.IsAttached(xmdeliverydetails))
            {
                this._context.XMDeliveryDetails.Attach(xmdeliverydetails);
            }

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

            if (!this._context.IsAttached(xmdeliverydetails))
            {
                this._context.XMDeliveryDetails.AddObject(xmdeliverydetails);
            }

            this._context.SaveChanges();
        }