/// <summary>
 /// Deprecated Method for adding a new object to the PayrollActivities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayrollActivities(PayrollActivity payrollActivity)
 {
     base.AddObject("PayrollActivities", payrollActivity);
 }
 /// <summary>
 /// Create a new PayrollActivity object.
 /// </summary>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="payrollActivity1">Initial value of the PayrollActivity1 property.</param>
 public static PayrollActivity CreatePayrollActivity(global::System.Int32 projectID, global::System.String payrollActivity1)
 {
     PayrollActivity payrollActivity = new PayrollActivity();
     payrollActivity.ProjectID = projectID;
     payrollActivity.PayrollActivity1 = payrollActivity1;
     return payrollActivity;
 }