/// <summary>
        /// Update into XMOrderInfoOperatingRecord
        /// </summary>
        /// <param name="xmorderinfooperatingrecord">XMOrderInfoOperatingRecord</param>
        public void UpdateXMOrderInfoOperatingRecord(XMOrderInfoOperatingRecord xmorderinfooperatingrecord)
        {
            if (xmorderinfooperatingrecord == null)
            {
                return;
            }

            if (this._context.IsAttached(xmorderinfooperatingrecord))
            {
                this._context.XMOrderInfoOperatingRecords.Attach(xmorderinfooperatingrecord);
            }

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

            if (!this._context.IsAttached(xmorderinfooperatingrecord))
            {
                this._context.XMOrderInfoOperatingRecords.AddObject(xmorderinfooperatingrecord);
            }

            this._context.SaveChanges();
        }