/// <summary>
 /// Create a new HR_CMP_Messages object.
 /// </summary>
 /// <param name="messageID">Initial value of the MessageID property.</param>
 /// <param name="companyNumber">Initial value of the CompanyNumber property.</param>
 /// <param name="fromEmployeeNumber">Initial value of the FromEmployeeNumber property.</param>
 /// <param name="messageToEmployeeNumber">Initial value of the MessageToEmployeeNumber property.</param>
 /// <param name="subject">Initial value of the Subject property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="messageDate">Initial value of the MessageDate property.</param>
 public static HR_CMP_Messages CreateHR_CMP_Messages(global::System.Int32 messageID, global::System.String companyNumber, global::System.String fromEmployeeNumber, global::System.String messageToEmployeeNumber, global::System.String subject, global::System.String body, global::System.String messageDate)
 {
     HR_CMP_Messages hR_CMP_Messages = new HR_CMP_Messages();
     hR_CMP_Messages.MessageID = messageID;
     hR_CMP_Messages.CompanyNumber = companyNumber;
     hR_CMP_Messages.FromEmployeeNumber = fromEmployeeNumber;
     hR_CMP_Messages.MessageToEmployeeNumber = messageToEmployeeNumber;
     hR_CMP_Messages.Subject = subject;
     hR_CMP_Messages.Body = body;
     hR_CMP_Messages.MessageDate = messageDate;
     return hR_CMP_Messages;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_CMP_Messages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_CMP_Messages(HR_CMP_Messages hR_CMP_Messages)
 {
     base.AddObject("HR_CMP_Messages", hR_CMP_Messages);
 }