I encounter exception error below when i try to add a new entry in the database with :
db.patient_visit.Add(pv); db.SaveChanges();