/// <summary> /// Create a new departments object. /// </summary> /// <param name="departmentID">Initial value of the DepartmentID property.</param> /// <param name="name">Initial value of the Name property.</param> public static departments Createdepartments(global::System.Int32 departmentID, global::System.String name) { departments departments = new departments(); departments.DepartmentID = departmentID; departments.Name = name; return departments; }
/// <summary> /// Deprecated Method for adding a new object to the departments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTodepartments(departments departments) { base.AddObject("departments", departments); }