Exemple #1
0
 public InternalAbsenceRepository(string SQLConnectionString, DateTime startDate, DateTime endDate)
 {
     this._cachedMode         = true;
     this.SQLConnectionString = SQLConnectionString;
     this._reasonRepo         = new InternalAbsenceReasonRepository(SQLConnectionString);
     this._statusRepo         = new InternalAbsenceStatusRepository(SQLConnectionString);
     updateKnownAbsenceCounts();
 }
Exemple #2
0
        // When getting absences for a student

        public InternalAbsenceRepository(string SQLConnectionString)
        {
            this.SQLConnectionString = SQLConnectionString;
            this._reasonRepo         = new InternalAbsenceReasonRepository(SQLConnectionString);
            this._statusRepo         = new InternalAbsenceStatusRepository(SQLConnectionString);
        }