public GradeCollection GetGrades() { GradeCollection childDataCollection = null; if (base.ValidateKeyField(this._seriesID)) { try { DataTable dt = ExecuteDataTable("spr_GetGradesByseriesID", this._seriesID); // fill collection list childDataCollection = Grade.GetCollection(dt); } catch (Exception ex) { HandleException(ex); } } return(childDataCollection); }
public static GradeCollection GetAllGrades() { return(Grade.GetCollection(ExecuteDataTable("spr_GetAllGrades"))); }