Esempio n. 1
0
 void IMemberRepository.UpdateMember(Member member)
 {
     context.Entry(member).State = System.Data.EntityState.Modified;
 }
Esempio n. 2
0
 public void Update(TEntity entity)
 {
     dbSet.Attach(entity);
     context.Entry(entity).State = System.Data.EntityState.Modified;
 }