public Helpers(DataRow row)
     : base()
 {
     _helpers = new Fpp.WebModules.Data.Helpers(_moduleSettings);
     _judgeID = -1;
     LoadFromRow(row);
 }
 public Helpers(DataRow row)
     : base()
 {
     _helpers = new Data.Helpers(ModuleSettings);
     _judgeID = -1;
     LoadFromRow(row);
 }
        public Helpers(int HelperID)
            : base()
        {
            _helpers = new Data.Helpers(ModuleSettings);

            ID = HelperID;
            _judgeID = -1;
            LoadFromRow(_helpers.GetHelpers(ID).Tables[0].Rows[0]);
        }
        public Helpers(int HelperID)
            : base()
        {
            _helpers = new Fpp.WebModules.Data.Helpers(_moduleSettings);

            _id = HelperID;
            _judgeID = -1;
            LoadFromRow(_helpers.GetHelpers(_id).Tables[0].Rows[0]);
        }
 public Helpers(int UserID, int ShowDetailsID)
     : base()
 {
     _helpers = new Data.Helpers(ModuleSettings);
     DataSet ds = _helpers.Retrieve(UserID, ShowDetailsID);
     if (ds.Tables[0].Rows.Count > 0 )
     {
         LoadFromRow(ds.Tables[0].Rows[0]);
     }
 }
 // update the news identified by the specified ID
 public bool Update(int Allocated)
 {
     Data.Helpers helper = new Data.Helpers(ModuleSettings);
     return helper.Update(ID, Allocated);
 }
 public Helpers()
     : base()
 {
     _helpers = new Data.Helpers(ModuleSettings);
     _judgeID = -1;
 }
 public static List<Helpers> HelperForShow(int ShowID, int UserID)
 {
     String moduleSettings = ModuleConfig.GetSettings();
     Data.Helpers helpr = new Data.Helpers(moduleSettings);
     List<Helpers> helperList = new List<Helpers>();
     DataSet ds = helpr.HelperForShow(ShowID, UserID);
     foreach (DataRow row in ds.Tables[0].Rows)
     {
         helperList.Add(new Helpers(row));
     }
     return helperList;
 }
 public static DataSet GetHelpersForRing(ShowDetails showDetails, int RingID)
 {
     String moduleSettings = ModuleConfig.GetSettings();
     Data.Helpers helpr = new Data.Helpers(moduleSettings);
     return helpr.GetHelpersForRing(showDetails.ShowDate.ToString("yyyy-MM-dd"), RingID);
 }
        public static List<Helpers> GetAllHelpersForShow(int ShowID, string SortType, int Direction)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.Helpers helpr = new Data.Helpers(moduleSettings);

            DataSet ds = helpr.GetAllHelpersForShow(ShowID, SortType, Direction);
            List<Helpers> Helpers = new List<Helpers>();

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                Helpers.Add(new Helpers(row));
            }

            return Helpers;
        }
 public static void DeleteFromShow(int ShowID, int UserID)
 {
     String moduleSettings = ModuleConfig.GetSettings();
     Data.Helpers helpr = new Data.Helpers(moduleSettings);
     helpr.DeleteFromShow(ShowID, UserID);
 }
 // delete the record identified by the specified ID
 public static bool Delete(int ID)
 {
     String moduleSettings = ModuleConfig.GetSettings();
     Data.Helpers helpr = new Data.Helpers(moduleSettings);
     return helpr.Delete(ID);
 }
 public HelperForShow()
     : base()
 {
     _helpers = new Data.Helpers(ModuleSettings);
 }
 public Helpers()
     : base()
 {
     _helpers = new Fpp.WebModules.Data.Helpers(_moduleSettings);
     _judgeID = -1;
 }