/// <summary> /// Create a new EmailAddressEmailList object. /// </summary> /// <param name="emailAddressId">Initial value of the EmailAddressId property.</param> /// <param name="listId">Initial value of the ListId property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="updated">Initial value of the Updated property.</param> public static EmailAddressEmailList CreateEmailAddressEmailList(global::System.Int32 emailAddressId, global::System.Int32 listId, global::System.Boolean isActive, global::System.DateTime created, global::System.DateTime updated) { EmailAddressEmailList emailAddressEmailList = new EmailAddressEmailList(); emailAddressEmailList.EmailAddressId = emailAddressId; emailAddressEmailList.ListId = listId; emailAddressEmailList.IsActive = isActive; emailAddressEmailList.Created = created; emailAddressEmailList.Updated = updated; return emailAddressEmailList; }
/// <summary> /// Deprecated Method for adding a new object to the EmailAddressEmailLists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailAddressEmailLists(EmailAddressEmailList emailAddressEmailList) { base.AddObject("EmailAddressEmailLists", emailAddressEmailList); }