/// <summary> /// Deprecated Method for adding a new object to the Depts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDepts(Dept dept) { base.AddObject("Depts", dept); }
/// <summary> /// Create a new Dept object. /// </summary> /// <param name="deptID">Initial value of the DeptID property.</param> public static Dept CreateDept(global::System.Int16 deptID) { Dept dept = new Dept(); dept.DeptID = deptID; return dept; }