/// <summary>
 /// Create a new AddressBook object.
 /// </summary>
 /// <param name="addressBookID">Initial value of the AddressBookID property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="addressLine1">Initial value of the AddressLine1 property.</param>
 /// <param name="addressLine2">Initial value of the AddressLine2 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="postCode">Initial value of the PostCode property.</param>
 /// <param name="countryID">Initial value of the CountryID property.</param>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="isValid">Initial value of the IsValid property.</param>
 public static AddressBook CreateAddressBook(global::System.Int32 addressBookID, global::System.String title, global::System.String firstName, global::System.String lastName, global::System.String addressLine1, global::System.String addressLine2, global::System.String city, global::System.String state, global::System.String postCode, global::System.Int32 countryID, global::System.Int32 customerID, global::System.Boolean isValid)
 {
     AddressBook addressBook = new AddressBook();
     addressBook.AddressBookID = addressBookID;
     addressBook.Title = title;
     addressBook.FirstName = firstName;
     addressBook.LastName = lastName;
     addressBook.AddressLine1 = addressLine1;
     addressBook.AddressLine2 = addressLine2;
     addressBook.City = city;
     addressBook.State = state;
     addressBook.PostCode = postCode;
     addressBook.CountryID = countryID;
     addressBook.CustomerID = customerID;
     addressBook.IsValid = isValid;
     return addressBook;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AddressBooks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddressBooks(AddressBook addressBook)
 {
     base.AddObject("AddressBooks", addressBook);
 }