Testing.AdventureWorksEntities.AddToSalesPersons C# (CSharp) Method

AddToSalesPersons() public method

Deprecated Method for adding a new object to the SalesPersons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToSalesPersons ( SalesPerson salesPerson ) : void
salesPerson SalesPerson
return void
        public void AddToSalesPersons(SalesPerson salesPerson)
        {
            base.AddObject("SalesPersons", salesPerson);
        }
    
AdventureWorksEntities