Exemplo n.º 1
0
        public ShowYears(int show_Year_ID)
        {
            ShowYearsBL showYears = new ShowYearsBL();
            lkpShowYears = showYears.GetShow_YearByShow_Year_ID(show_Year_ID);

            Show_Year_ID = show_Year_ID;
            ShowYear = lkpShowYears[0].Show_Year;
            Show_Year = ShowYear.ToString();
        }
Exemplo n.º 2
0
        public List<ShowYears> GetShow_YearByShow_Year(short show_Year)
        {
            List<ShowYears> showYearList = new List<ShowYears>();
            ShowYearsBL showYears = new ShowYearsBL();
            lkpShowYears = showYears.GetShow_YearByShow_Year(show_Year);

            if (lkpShowYears != null && lkpShowYears.Count > 0)
            {
                foreach (sss.lkpShow_YearsRow row in lkpShowYears)
                {
                    ShowYears showYear = new ShowYears(row.Show_Year_ID);
                    showYearList.Add(showYear);
                }
            }

            return showYearList;
        }
Exemplo n.º 3
0
 public ShowYears()
 {
     ShowYearsBL showYears = new ShowYearsBL();
     lkpShowYears = showYears.GetShow_Years();
 }