//---------------------------------------------------------------------------------------------
// 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>
    /// Product subcategories. See ProductCategory table.
    ///</summary>
    public partial class ProductSubcategory
    {
        public ProductSubcategory()
        {
        }

        #region Properties

        public int ProductSubcategoryId  { get; set; }

        ///<summary>
        /// Product category identification number. Foreign key to ProductCategory.ProductCategoryID.
        ///</summary>
        public int ProductCategoryId  { get; set; }

        ///<summary>
        /// Subcategory description.
        ///</summary>
        public string Name  { 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>
        /// ProductCategory object referenced by the field ProductCategoryId.
        ///</summary>
        public virtual ProductCategory ProductCategoryObject { get; set; }

        #endregion
    }
}