public v_dropoutsWWoDisSchoolDistState GetDropoutData() { DALDropouts dropouts = new DALDropouts(); List <int> schoolTypes = GetSchoolTypesList(this.SchoolType); _fullKeys = FullKeyUtils.GetFullKeysList(CompareTo, OrgLevel, OrigFullKey, CompareToSchoolsOrDistrict, S4orALL); List <int> gradeCodeRange = GetGradeCodes(); Years = base.GetYearList(); List <int> sexCodes, raceCodes, disabilityCodes, gradeCodes, econDisadvCodes, ELPCodes; GetViewByList(ViewBy, OrgLevel, out sexCodes, out raceCodes, out disabilityCodes, out gradeCodes, out econDisadvCodes, out ELPCodes); v_dropoutsWWoDisSchoolDistState ds = new v_dropoutsWWoDisSchoolDistState(); List <string> orderBy = GetOrderByList(ds.v_DropoutsWWoDisSchoolDistState, CompareTo, FullKeyUtils.FullKeyDecode(OrigFullKey)); ds = dropouts.GetDropoutData( FullKeyUtils.FullKeyDecode(this._fullKeys), schoolTypes, Years, sexCodes, raceCodes, disabilityCodes, gradeCodes, orderBy); this.sql = dropouts.SQL; return(ds); }
public v_dropoutsWWoDisSchoolDistState GetDemoData() { DemoDAL dal = new DemoDAL(); v_dropoutsWWoDisSchoolDistState ds = dal.GetDemoData(); this.sql = dal.SQL; return(ds); }
public v_dropoutsWWoDisSchoolDistState GetDemoData() { //TODO: Finish something here. string mySql = "select top 100 * from v_dropoutsWWoDisSchoolDistState"; v_dropoutsWWoDisSchoolDistState ds = new v_dropoutsWWoDisSchoolDistState(); base.GetDS(ds, mySql, ds.v_DropoutsWWoDisSchoolDistState.TableName); return(ds); }