/// <summary>
 /// Create a new EmailAddress object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="emailAddress1">Initial value of the EmailAddress1 property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="updated">Initial value of the Updated property.</param>
 public static EmailAddress CreateEmailAddress(global::System.Int32 id, global::System.String emailAddress1, global::System.DateTime created, global::System.DateTime updated)
 {
     EmailAddress emailAddress = new EmailAddress();
     emailAddress.Id = id;
     emailAddress.EmailAddress1 = emailAddress1;
     emailAddress.Created = created;
     emailAddress.Updated = updated;
     return emailAddress;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailAddresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailAddresses(EmailAddress emailAddress)
 {
     base.AddObject("EmailAddresses", emailAddress);
 }