Пример #1
0
 public void MarkUnchanged2(IEntity item)
 {
     _context.Entry(item).State = EntityState.Unchanged;
 }
Пример #2
0
 public void MarkUnchanged2(IEntityClass item)
 {
     _context.Entry(item).State = System.Data.Entity.EntityState.Unchanged;
 }