Пример #1
0
 /// <summary>
 /// Create a new SubDept object.
 /// </summary>
 /// <param name="subDeptId">Initial value of the SubDeptId property.</param>
 /// <param name="deptId">Initial value of the DeptId property.</param>
 /// <param name="subDeptName">Initial value of the SubDeptName property.</param>
 /// <param name="isSupporting">Initial value of the IsSupporting property.</param>
 public static SubDept CreateSubDept(global::System.Int32 subDeptId, global::System.Int32 deptId, global::System.String subDeptName, global::System.Boolean isSupporting)
 {
     SubDept subDept = new SubDept();
     subDept.SubDeptId = subDeptId;
     subDept.DeptId = deptId;
     subDept.SubDeptName = subDeptName;
     subDept.IsSupporting = isSupporting;
     return subDept;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubDepts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubDepts(SubDept subDept)
 {
     base.AddObject("SubDepts", subDept);
 }