ObjectSet<TEntity>.Attach Method (TEntity)
Attaches an object or object graph to the object context in the current entity set.
Assembly: EntityFramework (in EntityFramework.dll)
Attaches an object or object graph to the object context in the current entity set.