コード例 #1
0
 /// <summary>
 /// Create a new Dept object.
 /// </summary>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 public static Dept CreateDept(long departmentId)
 {
     Dept dept = new Dept();
     dept.DepartmentId = departmentId;
     return dept;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Depts EntitySet.
 /// </summary>
 public void AddToDepts(Dept dept)
 {
     base.AddObject("Depts", dept);
 }