/// <summary> /// Update into XMFinancialCapitalFlow /// </summary> /// <param name="xmfinancialcapitalflow">XMFinancialCapitalFlow</param> public void UpdateXMFinancialCapitalFlow(XMFinancialCapitalFlow xmfinancialcapitalflow) { if (xmfinancialcapitalflow == null) { return; } if (this._context.IsAttached(xmfinancialcapitalflow)) { this._context.XMFinancialCapitalFlows.Attach(xmfinancialcapitalflow); } this._context.SaveChanges(); }
/// <summary> /// Insert into XMFinancialCapitalFlow /// </summary> /// <param name="xmfinancialcapitalflow">XMFinancialCapitalFlow</param> public void InsertXMFinancialCapitalFlow(XMFinancialCapitalFlow xmfinancialcapitalflow) { if (xmfinancialcapitalflow == null) { return; } if (!this._context.IsAttached(xmfinancialcapitalflow)) { this._context.XMFinancialCapitalFlows.AddObject(xmfinancialcapitalflow); } this._context.SaveChanges(); }