//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "EF Domain Objects" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//---------------------------------------------------------------------------------------------

using System;

namespace AdventureWorks.Services.Entities
{
    ///<summary>
    /// Street address information for customers, employees, and vendors.
    ///</summary>
    public partial class Address
    {
        public Address()
        {
        }

        #region Properties

        public int AddressId  { get; set; }

        ///<summary>
        /// First street address line.
        ///</summary>
        public string AddressLine1  { get; set; }

        ///<summary>
        /// Second street address line.
        ///</summary>
        public string AddressLine2  { get; set; }

        ///<summary>
        /// Name of the city.
        ///</summary>
        public string City  { get; set; }

        ///<summary>
        /// Unique identification number for the state or province. Foreign key to StateProvince table.
        ///</summary>
        public int StateProvinceId  { get; set; }

        ///<summary>
        /// Postal code for the street address.
        ///</summary>
        public string PostalCode  { get; set; }

        ///<summary>
        /// ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
        ///</summary>
        public Guid Rowguid  { get; set; }

        ///<summary>
        /// Date and time the record was last updated.
        ///</summary>
        public DateTime ModifiedDate  { get; set; }

        #endregion

        #region Navigation Properties

        ///<summary>
        /// StateProvince object referenced by the field StateProvinceId.
        ///</summary>
        public virtual StateProvince StateProvinceObject { get; set; }

        #endregion
    }
}