

using System;
using System.Collections.Generic;

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

        private string address;

        private bool? bool1;

        private string city;

        private string companyName;

        private string contactName;

        private string contactTitle;

        private string country;

        private string fax;

        private string phone;

        private string postalCode;

        private string region;

        private IList<Order> order = new List<Order>();  // inverse Order.customer





    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace _1_ORM_Reverse_Mapping 
{
    //Generated by Telerik OpenAccess
    public partial class Customer 
    {
        //The 'no-args' constructor required by OpenAccess. 
        public Customer() 
        {
        }
    
        [Telerik.OpenAccess.FieldAlias("customerID")]
        public string CustomerID
        {
            get { return customerID; }
            set { this.customerID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("address")]
        public string Address
        {
            get { return address; }
            set { this.address = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("bool1")]
        public bool? Bool1
        {
            get { return bool1; }
            set { this.bool1 = 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("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; }
        }
 
        [Telerik.OpenAccess.FieldAlias("order")]
        public IList<Order> Orders
        {
            get { return order; }
        }
 

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