

using System;
using System.Collections.Generic;

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

        private int regionID;

        private string territoryDescription;

        private IList<Employee> employee = new List<Employee>();  // inverse Employee.employeeTerritories


        

        
    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace Model 
{
    //Generated by Telerik OpenAccess
    public partial class Territory 
    {
        //The 'no-args' constructor required by OpenAccess. 
        public Territory() 
        {
        }
    
        [Telerik.OpenAccess.FieldAlias("territoryID")]
        public string TerritoryID
        {
            get { return territoryID; }
            set { this.territoryID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("regionID")]
        public int RegionID
        {
            get { return regionID; }
            set { this.regionID = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("territoryDescription")]
        public string TerritoryDescription
        {
            get { return territoryDescription; }
            set { this.territoryDescription = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("employee")]
        public IList<Employee> Employees
        {
            get { return employee; }
        }
 

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