/// <summary>
        /// Create a new LotBasedAddress 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 LotBasedAddress CreateLotBasedAddress(global::System.Int32 addressId, global::System.String postcode, global::System.Int32 sequenceNumber)
        {
            LotBasedAddress lotBasedAddress = new LotBasedAddress();

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