src/Shared/EntityFramework/Core/Objects/ObjectSet.cs
/// <summary>Adds an object to the object context in the current entity set. </summary>
/// <param name="entity">The object to add.</param>
Adds an object to the object context in the current entity set.
Adds an object to the object context in the current entity set .
public void AddObject(TEntity entity)
        {
            Context.AddObject(FullyQualifiedEntitySetName, entity);
        }
public void AddObject ( TEntity entity ) { Context . AddObject ( FullyQualifiedEntitySetName , entity ) ; }
Adds an object to the object context in the current entity set.
Adds an object to the object context in the current entity set .
// this method is expected to behave exactly like ObjectContext.AddObject -- see devnote at the top of this class
entity
TEntity
The object to add.
The object to add .