/// <summary>
 /// Create a new HR_Address object.
 /// </summary>
 /// <param name="addressID">Initial value of the AddressID property.</param>
 /// <param name="street1">Initial value of the Street1 property.</param>
 /// <param name="street2">Initial value of the Street2 property.</param>
 /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param>
 public static HR_Address CreateHR_Address(global::System.Int32 addressID, global::System.String street1, global::System.String street2, global::System.Int32 addressTypeID)
 {
     HR_Address hR_Address = new HR_Address();
     hR_Address.AddressID = addressID;
     hR_Address.Street1 = street1;
     hR_Address.Street2 = street2;
     hR_Address.AddressTypeID = addressTypeID;
     return hR_Address;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_Address EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_Address(HR_Address hR_Address)
 {
     base.AddObject("HR_Address", hR_Address);
 }