/// <summary>
 /// Deprecated Method for adding a new object to the DeptPoLogs EntitySet.
 /// </summary>
 public void AddToDeptPoLogs(DeptPoLog deptPoLog)
 {
     base.AddObject("DeptPoLogs", deptPoLog);
 }
 /// <summary>
 /// Create a new DeptPoLog object.
 /// </summary>
 /// <param name="purchaseOrderLogId">Initial value of PurchaseOrderLogId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="purchaseOrderId">Initial value of PurchaseOrderId.</param>
 public static DeptPoLog CreateDeptPoLog(long purchaseOrderLogId, long departmentId, string purchaseOrderId)
 {
     DeptPoLog deptPoLog = new DeptPoLog();
     deptPoLog.PurchaseOrderLogId = purchaseOrderLogId;
     deptPoLog.DepartmentId = departmentId;
     deptPoLog.PurchaseOrderId = purchaseOrderId;
     return deptPoLog;
 }