c# entity save and update record 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();