예제 #1
0
 public void UpdateJudges()
 {
     try
     {
         JudgesBL judges = new JudgesBL(_connString);
         judges.UpdateJudges(_show_Entry_Class_ID, _primary_Judge, _reserve_Judge);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public void InsertRecordForShowEntryClass(Guid show_Entry_Class_ID)
 {
     try
     {
         JudgesBL judges = new JudgesBL(_connString);
         judges.InsertRecordForShowEntryClass(show_Entry_Class_ID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #3
0
        public bool EntryExistsForShowClass(Guid show_Entry_Class_ID)
        {
            bool retVal = false;

            try
            {
                JudgesBL judges = new JudgesBL(_connString);
                retVal = judges.RecordExistsForShowEntryClass(show_Entry_Class_ID);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(retVal);
        }
예제 #4
0
        public Judges(string connString, Guid show_Entry_Class_ID)
        {
            _connString = connString;

            try
            {
                JudgesBL judges = new JudgesBL(_connString);
                tblJudges = judges.GetJudgesByShow_Entry_Class_ID(show_Entry_Class_ID);
                DataRow row = tblJudges.Rows[0];

                _show_Entry_Class_ID = show_Entry_Class_ID;
                _primary_Judge       = Utils.DBNullToString(row["Primary_Judge"]);
                _reserve_Judge       = Utils.DBNullToString(row["Reserve_Judge"]);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }