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