

using System;
using System.Collections.Generic;

namespace DataProvider
{
    // Generated by Telerik OpenAccess
    // Used template: c:\program files\telerik\openaccess orm\sdk\IDEIntegrations\templates\PCClassGeneration\cs\templates\classgen\class\partialdesignerdefault.vm
    [Telerik.OpenAccess.Persistent(IdentityField = "productID")]
    public partial class Product
    {
        private int productID; // pk 

        private int? categoryID;

        private int classType;

        private bool discontinued;

        private int? pges;

        private string productName;

        private string quantityPerUnit;

        private short? reorderLevel;

        private int? supplierID;

        private Decimal? unitPrice;

        private short? unitsInStock;

        private short? unitsOnOrder;





    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace DataProvider 
{
    //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("categoryID")]
        public int? CategoryID
        {
            get { return categoryID; }
            set { this.categoryID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("classType")]
        public int ClassType
        {
            get { return classType; }
            set { this.classType = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("discontinued")]
        public bool Discontinued
        {
            get { return discontinued; }
            set { this.discontinued = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("pges")]
        public int? Pges
        {
            get { return pges; }
            set { this.pges = 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("supplierID")]
        public int? SupplierID
        {
            get { return supplierID; }
            set { this.supplierID = 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; }
        }
 

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