Testing.AdventureWorksEntities.AddToEmployeePayHistories C# (CSharp) Method

AddToEmployeePayHistories() public method

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