/// <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(); }
/// <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(); }