/// <summary>
 /// Create a new AddressType object.
 /// </summary>
 /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param>
 /// <param name="entityID">Initial value of the EntityID property.</param>
 /// <param name="enabled">Initial value of the Enabled property.</param>
 /// <param name="addressTypeName">Initial value of the AddressTypeName property.</param>
 public static AddressType CreateAddressType(global::System.Int32 addressTypeID, global::System.Int32 entityID, global::System.Boolean enabled, global::System.String addressTypeName)
 {
     AddressType addressType = new AddressType();
     addressType.AddressTypeID = addressTypeID;
     addressType.EntityID = entityID;
     addressType.Enabled = enabled;
     addressType.AddressTypeName = addressTypeName;
     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);
 }