Beispiel #1
0
        /// <summary>
        /// Update into XMClaimInfo
        /// </summary>
        /// <param name="xmclaiminfo">XMClaimInfo</param>
        public void UpdateXMClaimInfo(XMClaimInfo xmclaiminfo)
        {
            if (xmclaiminfo == null)
            {
                return;
            }

            if (this._context.IsAttached(xmclaiminfo))
            {
                this._context.XMClaimInfoes.Attach(xmclaiminfo);
            }

            this._context.SaveChanges();
        }
Beispiel #2
0
        /// <summary>
        /// Insert into XMClaimInfo
        /// </summary>
        /// <param name="xmclaiminfo">XMClaimInfo</param>
        public void InsertXMClaimInfo(XMClaimInfo xmclaiminfo)
        {
            if (xmclaiminfo == null)
            {
                return;
            }

            if (!this._context.IsAttached(xmclaiminfo))
            {
                this._context.XMClaimInfoes.AddObject(xmclaiminfo);
            }

            this._context.SaveChanges();
        }