Adds an object to the object context in the current entity set.
public void AddObject( TEntity entity )
The object to add.
ObjectSet<TEntity> ClassSystem.Data.Entity.Core.Objects Namespace