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(); }
// When getting absences for a student public InternalAbsenceRepository(string SQLConnectionString) { this.SQLConnectionString = SQLConnectionString; this._reasonRepo = new InternalAbsenceReasonRepository(SQLConnectionString); this._statusRepo = new InternalAbsenceStatusRepository(SQLConnectionString); }