Testing.AdventureWorksEntities.AddToDepartments C# (CSharp) 메소드

AddToDepartments() 공개 메소드

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
리턴 void
        public void AddToDepartments(Department department)
        {
            base.AddObject("Departments", department);
        }
    
AdventureWorksEntities