예제 #1
0
        /// <summary>
        /// Update into XMClaimFormDetail
        /// </summary>
        /// <param name="xmclaimformdetail">XMClaimFormDetail</param>
        public void UpdateXMClaimFormDetail(XMClaimFormDetail xmclaimformdetail)
        {
            if (xmclaimformdetail == null)
            {
                return;
            }

            if (this._context.IsAttached(xmclaimformdetail))
            {
                this._context.XMClaimFormDetails.Attach(xmclaimformdetail);
            }

            this._context.SaveChanges();
        }
예제 #2
0
        /// <summary>
        /// Insert into XMClaimFormDetail
        /// </summary>
        /// <param name="xmclaimformdetail">XMClaimFormDetail</param>
        public void InsertXMClaimFormDetail(XMClaimFormDetail xmclaimformdetail)
        {
            if (xmclaimformdetail == null)
            {
                return;
            }

            if (!this._context.IsAttached(xmclaimformdetail))
            {
                this._context.XMClaimFormDetails.AddObject(xmclaimformdetail);
            }

            this._context.SaveChanges();
        }