/// <summary>
        /// Update into XMCustomerWangNo
        /// </summary>
        /// <param name="xmcustomerwangno">XMCustomerWangNo</param>
        public void UpdateXMCustomerWangNo(XMCustomerWangNo xmcustomerwangno)
        {
            if (xmcustomerwangno == null)
            {
                return;
            }

            if (this._context.IsAttached(xmcustomerwangno))
            {
                this._context.XMCustomerWangNoes.Attach(xmcustomerwangno);
            }

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

            if (!this._context.IsAttached(xmcustomerwangno))
            {
                this._context.XMCustomerWangNoes.AddObject(xmcustomerwangno);
            }

            this._context.SaveChanges();
        }