예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Depts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDepts(Dept dept)
 {
     base.AddObject("Depts", dept);
 }
예제 #2
0
 /// <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;
 }