

using System;
using System.Collections.Generic;

namespace NorthwindDal
{
    //Generated by Telerik OpenAccess
    [Telerik.OpenAccess.Persistent(IdentityField = "productID")]
    public partial class Product
    {
        private int productID; // pk 

        private bool discontinued;

        private string productName;

        private string quantityPerUnit;

        private short? reorderLevel;

        private Decimal? unitPrice;

        private short? unitsInStock;

        private short? unitsOnOrder;

        private Category category;

        private Supplier supplier;





    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace NorthwindDal 
{
    //Generated by Telerik OpenAccess
    public partial class Product 
    {
        //The 'no-args' constructor required by OpenAccess. 
        public Product() 
        {
        }
    
        [Telerik.OpenAccess.FieldAlias("productID")]
        public int ProductID
        {
            get { return productID; }
            set { this.productID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("discontinued")]
        public bool Discontinued
        {
            get { return discontinued; }
            set { this.discontinued = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("productName")]
        public string ProductName
        {
            get { return productName; }
            set { this.productName = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("quantityPerUnit")]
        public string QuantityPerUnit
        {
            get { return quantityPerUnit; }
            set { this.quantityPerUnit = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("reorderLevel")]
        public short? ReorderLevel
        {
            get { return reorderLevel; }
            set { this.reorderLevel = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("unitPrice")]
        public Decimal? UnitPrice
        {
            get { return unitPrice; }
            set { this.unitPrice = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("unitsInStock")]
        public short? UnitsInStock
        {
            get { return unitsInStock; }
            set { this.unitsInStock = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("unitsOnOrder")]
        public short? UnitsOnOrder
        {
            get { return unitsOnOrder; }
            set { this.unitsOnOrder = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("category")]
        public Category Category
        {
            get { return category; }
            set { this.category = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("supplier")]
        public Supplier Supplier
        {
            get { return supplier; }
            set { this.supplier = value; }
        }
 

    }
}
*/
#endregion //main class file contents
