Ejemplo n.º 1
0
 public virtual void Attach(T item)
 {
     Context.Set <T>().Attach(item);
     Context.Entry <T>(item).State = EntityState.Unchanged;
 }