/// <summary> /// Update into TableUpdateLog /// </summary> /// <param name="tableupdatelog">TableUpdateLog</param> public void UpdateTableUpdateLog(TableUpdateLog tableupdatelog) { if (tableupdatelog == null) { return; } if (this._context.IsAttached(tableupdatelog)) { this._context.TableUpdateLogs.Attach(tableupdatelog); } this._context.SaveChanges(); }
/// <summary> /// Insert into TableUpdateLog /// </summary> /// <param name="tableupdatelog">TableUpdateLog</param> public void InsertTableUpdateLog(TableUpdateLog tableupdatelog) { if (tableupdatelog == null) { return; } if (!this._context.IsAttached(tableupdatelog)) { this._context.TableUpdateLogs.AddObject(tableupdatelog); } this._context.SaveChanges(); }