c# entity framework update table code example
Example: how to update record using entity framework 5
BY LOVE SINGH.
employeeDBEntities.tblEmployee.Attach(objTblEmployee);
employeeDBEntities.Entry(objTblEmployee).State = EntityState.Modified;
employeeDBEntities.SaveChanges();