/// <summary>
        /// Create a new StreetBasedAddress object.
        /// </summary>
        /// <param name="addressId">Initial value of the AddressId property.</param>
        /// <param name="postcode">Initial value of the Postcode property.</param>
        /// <param name="sequenceNumber">Initial value of the SequenceNumber property.</param>
        public static StreetBasedAddress CreateStreetBasedAddress(global::System.Int32 addressId, global::System.String postcode, global::System.String sequenceNumber)
        {
            StreetBasedAddress streetBasedAddress = new StreetBasedAddress();

            streetBasedAddress.AddressId      = addressId;
            streetBasedAddress.Postcode       = postcode;
            streetBasedAddress.SequenceNumber = sequenceNumber;
            return(streetBasedAddress);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the StreetBasedAddresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStreetBasedAddresses(StreetBasedAddress streetBasedAddress)
 {
     base.AddObject("StreetBasedAddresses", streetBasedAddress);
 }