Example #1
0
        /// <summary>
        /// Update into XMClaimInfoDetail
        /// </summary>
        /// <param name="xmclaiminfodetail">XMClaimInfoDetail</param>
        public void UpdateXMClaimInfoDetail(XMClaimInfoDetail xmclaiminfodetail)
        {
            if (xmclaiminfodetail == null)
            {
                return;
            }

            if (this._context.IsAttached(xmclaiminfodetail))
            {
                this._context.XMClaimInfoDetails.Attach(xmclaiminfodetail);
            }

            this._context.SaveChanges();
        }
Example #2
0
        /// <summary>
        /// Insert into XMClaimInfoDetail
        /// </summary>
        /// <param name="xmclaiminfodetail">XMClaimInfoDetail</param>
        public void InsertXMClaimInfoDetail(XMClaimInfoDetail xmclaiminfodetail)
        {
            if (xmclaiminfodetail == null)
            {
                return;
            }

            if (!this._context.IsAttached(xmclaiminfodetail))
            {
                this._context.XMClaimInfoDetails.AddObject(xmclaiminfodetail);
            }

            this._context.SaveChanges();
        }