#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Data.Common;
using System.Collections.Generic;
using Telerik.OpenAccess;


namespace ComboBoxDemo.Web	
{
	[Table("Pohlavi")]
	public partial class Pohlavi
	{
		private int iD;
		
		[Column("ID", OpenAccessType = OpenAccessType.Int32, IsBackendCalculated = true, IsPrimaryKey = true, SqlType = "int")]
		[Storage("iD")]
		public virtual int ID 
		{ 
		    get
		    {
		        return this.iD;
		    }
		    set
		    {
		        this.iD = value;
		    }
		}
		
		private string nazev;
		
		[Column("Nazev", OpenAccessType = OpenAccessType.Varchar, Length = 50, SqlType = "nvarchar")]
		[Storage("nazev")]
		public virtual string Nazev 
		{ 
		    get
		    {
		        return this.nazev;
		    }
		    set
		    {
		        this.nazev = value;
		    }
		}
		
		private IList<Osoba> osobas = new List<Osoba>();
		
		[Collection(InverseProperty = "Pohlavi")]
		[Storage("osobas")]
		public virtual IList<Osoba> Osobas 
		{ 
		    get
		    {
		        return this.osobas;
		    }
		}
		
	}
}
