/// <summary> /// Deprecated Method for adding a new object to the DeptPos EntitySet. /// </summary> public void AddToDeptPos(DeptPo deptPo) { base.AddObject("DeptPos", deptPo); }
/// <summary> /// Create a new DeptPo object. /// </summary> /// <param name="purchaseOrderId">Initial value of PurchaseOrderId.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> public static DeptPo CreateDeptPo(string purchaseOrderId, long departmentId) { DeptPo deptPo = new DeptPo(); deptPo.PurchaseOrderId = purchaseOrderId; deptPo.DepartmentId = departmentId; return deptPo; }