Exemple #1
0
        public List <ShowHelpers> GetShow_HelpersByShow_ID(Guid show_ID)
        {
            List <ShowHelpers> retVal = new List <ShowHelpers>();

            try
            {
                ShowHelpersBL showhelpers = new ShowHelpersBL(_connString);
                tblShowHelpers = showhelpers.GetShow_HelpersByShow_ID(show_ID);

                if (tblShowHelpers != null && tblShowHelpers.Rows.Count > 0)
                {
                    foreach (DataRow row in tblShowHelpers.Rows)
                    {
                        ShowHelpers showHelper = new ShowHelpers(_connString, Utils.DBNullToGuid(row["Show_Helper_ID"]));
                        retVal.Add(showHelper);
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(retVal);
        }
Exemple #2
0
        public List<ShowHelpers> GetShow_HelpersByShow_ID(Guid show_ID)
        {
            List<ShowHelpers> showHelperList = new List<ShowHelpers>();
            ShowHelpersBL showhelpers = new ShowHelpersBL();
            tblShowHelpers = showhelpers.GetShow_HelpersByShow_ID(show_ID);

            if (tblShowHelpers != null && tblShowHelpers.Count > 0)
            {
                foreach (sss.tblShow_HelpersRow row in tblShowHelpers)
                {
                    ShowHelpers showHelper = new ShowHelpers(row.Show_Helper_ID);
                    showHelperList.Add(showHelper);
                }
            }

            return showHelperList;
        }