/// <summary>
 /// Create a new DeptPoDetLog object.
 /// </summary>
 /// <param name="purchaseOrderDetailLogId">Initial value of PurchaseOrderDetailLogId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 public static DeptPoDetLog CreateDeptPoDetLog(long purchaseOrderDetailLogId, long departmentId)
 {
     DeptPoDetLog deptPoDetLog = new DeptPoDetLog();
     deptPoDetLog.PurchaseOrderDetailLogId = purchaseOrderDetailLogId;
     deptPoDetLog.DepartmentId = departmentId;
     return deptPoDetLog;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DeptPoDetLogs EntitySet.
 /// </summary>
 public void AddToDeptPoDetLogs(DeptPoDetLog deptPoDetLog)
 {
     base.AddObject("DeptPoDetLogs", deptPoDetLog);
 }