public void UpdateClient(Client client, bool autoCommit = true) { this.context.Entry(client).State = EntityState.Modified; if (autoCommit) this.Commit(); }However, I am getting EntityState underlined with red and saying name "EntityState" does not exist in this content. I have "using System.Data" declaration at the very top and I've checked that this enumeration exists in System.Data namespace.