/// <summary>
 /// Create a new AddressType object.
 /// </summary>
 /// <param name="addressTypeId">Initial value of the AddressTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static AddressType CreateAddressType(global::System.Int32 addressTypeId, global::System.String name)
 {
     AddressType addressType = new AddressType();
     addressType.AddressTypeId = addressTypeId;
     addressType.Name = name;
     return addressType;
 }
 /// <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);
 }