Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the AddressTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddressTypes(AddressType addressType)
 {
     base.AddObject("AddressTypes", addressType);
 }
 /// <summary>
 /// Create a new AddressType object.
 /// </summary>
 /// <param name="addressTypeKey">Initial value of the AddressTypeKey property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static AddressType CreateAddressType(global::System.String addressTypeKey, global::System.String name)
 {
     AddressType addressType = new AddressType();
     addressType.AddressTypeKey = addressTypeKey;
     addressType.Name = name;
     return addressType;
 }