Пример #1
0
 public void UpdateInstructor(Instructor Instructor)
 {
     context.Entry(Instructor).State = EntityState.Modified;
 }
Пример #2
0
 public void UpdateCourse(Course Course)
 {
     context.Entry(Course).State = EntityState.Modified;
 }
Пример #3
0
 public void UpdateRole(Role Role)
 {
     context.Entry(Role).State = EntityState.Modified;
 }
Пример #4
0
 public void UpdatePerson(Person Person)
 {
     context.Entry(Person).State = EntityState.Modified;
 }
Пример #5
0
 public void UpdateDepartment(Department Department)
 {
     context.Entry(Department).State = EntityState.Modified;
 }
Пример #6
0
 public void Update(T entity)
 {
     dbSet.Attach(entity);
     _context.Entry(entity).State = EntityState.Modified;
 }
Пример #7
0
 public void UpdateStudent(Student student)
 {
     context.Entry(student).State = EntityState.Modified;
 }
Пример #8
0
 public void UpdateEnrollment(Enrollment Enrollment)
 {
     context.Entry(Enrollment).State = EntityState.Modified;
 }
 public void UpdateOfficeAssignment(OfficeAssignment OfficeAssignment)
 {
     context.Entry(OfficeAssignment).State = EntityState.Modified;
 }