Testing.AdventureWorksEntities.AddToDepartments C# (CSharp) Method

AddToDepartments() public method

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