/// <summary> /// Update into XMCombinationDetails /// </summary> /// <param name="xmcombinationdetails">XMCombinationDetails</param> public void UpdateXMCombinationDetails(XMCombinationDetails xmcombinationdetails) { if (xmcombinationdetails == null) { return; } if (this._context.IsAttached(xmcombinationdetails)) { this._context.XMCombinationDetails.Attach(xmcombinationdetails); } this._context.SaveChanges(); }
/// <summary> /// Insert into XMCombinationDetails /// </summary> /// <param name="xmcombinationdetails">XMCombinationDetails</param> public void InsertXMCombinationDetails(XMCombinationDetails xmcombinationdetails) { if (xmcombinationdetails == null) { return; } if (!this._context.IsAttached(xmcombinationdetails)) { this._context.XMCombinationDetails.AddObject(xmcombinationdetails); } this._context.SaveChanges(); }