/// <summary>
        /// Update into XMLogisticsCost
        /// </summary>
        /// <param name="xmlogisticscost">XMLogisticsCost</param>
        public void UpdateXMLogisticsCost(XMLogisticsCost xmlogisticscost)
        {
            if (xmlogisticscost == null)
            {
                return;
            }

            if (this._context.IsAttached(xmlogisticscost))
            {
                this._context.XMLogisticsCosts.Attach(xmlogisticscost);
            }

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

            if (!this._context.IsAttached(xmlogisticscost))
            {
                this._context.XMLogisticsCosts.AddObject(xmlogisticscost);
            }

            this._context.SaveChanges();
        }