/// <summary>
 /// Deprecated Method for adding a new object to the Mails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMails(Mail mail)
 {
     base.AddObject("Mails", mail);
 }
 /// <summary>
 /// Create a new Mail object.
 /// </summary>
 /// <param name="mailId">Initial value of the MailId property.</param>
 public static Mail CreateMail(global::System.Int32 mailId)
 {
     Mail mail = new Mail();
     mail.MailId = mailId;
     return mail;
 }