

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 = "supplierID")]
    public partial class Supplier
    {
        private int supplierID; // pk 

        private string address;

        private string city;

        private string companyName;

        private string contactName;

        private string contactTitle;

        private string country;

        private string fax;

        private string homePage;

        private string phone;

        private string postalCode;

        private string region;





    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace DataProvider 
{
    //Generated by Telerik OpenAccess
    public partial class Supplier 
    {
        //The 'no-args' constructor required by OpenAccess. 
        public Supplier() 
        {
        }
    
        [Telerik.OpenAccess.FieldAlias("supplierID")]
        public int SupplierID
        {
            get { return supplierID; }
            set { this.supplierID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("address")]
        public string Address
        {
            get { return address; }
            set { this.address = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("city")]
        public string City
        {
            get { return city; }
            set { this.city = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("companyName")]
        public string CompanyName
        {
            get { return companyName; }
            set { this.companyName = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("contactName")]
        public string ContactName
        {
            get { return contactName; }
            set { this.contactName = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("contactTitle")]
        public string ContactTitle
        {
            get { return contactTitle; }
            set { this.contactTitle = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("country")]
        public string Country
        {
            get { return country; }
            set { this.country = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("fax")]
        public string Fax
        {
            get { return fax; }
            set { this.fax = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("homePage")]
        public string HomePage
        {
            get { return homePage; }
            set { this.homePage = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("phone")]
        public string Phone
        {
            get { return phone; }
            set { this.phone = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("postalCode")]
        public string PostalCode
        {
            get { return postalCode; }
            set { this.postalCode = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("region")]
        public string Region
        {
            get { return region; }
            set { this.region = value; }
        }
 

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