/// <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>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static AddressType CreateAddressType(global::System.Int32 addressTypeID, global::System.String name, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     AddressType addressType = new AddressType();
     addressType.AddressTypeID = addressTypeID;
     addressType.Name = name;
     addressType.rowguid = rowguid;
     addressType.ModifiedDate = modifiedDate;
     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);
 }