//------------------------------------------------------------------------------
// <auto-generated>
//    This code was generated from a template.
//
//    Manual changes to this file may cause unexpected behavior in your application.
//    Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;

public partial class Address
{
    public int AddressID { get; set; }
    public string AddressLine1 { get; set; }
    public string AddressLine2 { get; set; }
    public string City { get; set; }
    public int StateProvinceID { get; set; }
    public string PostalCode { get; set; }
    public System.Guid rowguid { get; set; }
    public System.DateTime ModifiedDate { get; set; }

    public virtual StateProvince StateProvince { get; set; }
}

public partial class AddressType
{
    public int AddressTypeID { get; set; }
    public string Name { get; set; }
    public System.Guid rowguid { get; set; }
    public System.DateTime ModifiedDate { get; set; }
}

public partial class Contact
{
    public int ContactID { get; set; }
    public bool NameStyle { get; set; }
    public string Title { get; set; }
    public string FirstName { get; set; }
    public string MiddleName { get; set; }
    public string LastName { get; set; }
    public string Suffix { get; set; }
    public string EmailAddress { get; set; }
    public int EmailPromotion { get; set; }
    public string Phone { get; set; }
    public string PasswordHash { get; set; }
    public string PasswordSalt { get; set; }
    public string AdditionalContactInfo { get; set; }
    public System.Guid rowguid { get; set; }
    public System.DateTime ModifiedDate { get; set; }
}

public partial class ContactType
{
    public int ContactTypeID { get; set; }
    public string Name { get; set; }
    public System.DateTime ModifiedDate { get; set; }
}

public partial class CountryRegion
{
    public CountryRegion()
    {
        this.StateProvinces = new HashSet<StateProvince>();
    }

    public string CountryRegionCode { get; set; }
    public string Name { get; set; }
    public System.DateTime ModifiedDate { get; set; }

    public virtual ICollection<StateProvince> StateProvinces { get; set; }
}

public partial class StateProvince
{
    public StateProvince()
    {
        this.Addresses = new HashSet<Address>();
    }

    public int StateProvinceID { get; set; }
    public string StateProvinceCode { get; set; }
    public string CountryRegionCode { get; set; }
    public bool IsOnlyStateProvinceFlag { get; set; }
    public string Name { get; set; }
    public int TerritoryID { get; set; }
    public System.Guid rowguid { get; set; }
    public System.DateTime ModifiedDate { get; set; }

    public virtual ICollection<Address> Addresses { get; set; }
    public virtual CountryRegion CountryRegion { get; set; }
}
