public void SetSubsSTYPlist(QueryArgumentsWithDisagg schoolTypes)
        {
            schoolTypes.DisAggValues = delegate()
            {
                getStringDelegate getSchoolType = delegate(String str) { return(int.Parse(GlobalValues.STYP.Range[str]).ToString()); };

                List <String> list = new List <String>(new String[] {
                    getSchoolType(STYPKeys.Elem),
                    getSchoolType(STYPKeys.Mid),
                    getSchoolType(STYPKeys.Hi),
                    getSchoolType(STYPKeys.ElSec)
                });

                if (schoolTypes.ForceDisAgg)
                {
                    list.Add(getSchoolType(STYPKeys.StateSummary));
                }

                return(list);
            };

            schoolTypes.ArgSub = delegate()
            {
                if (GlobalValues.STYP.Key != STYPKeys.AllTypes)
                {
                    return(new List <String>(new String[] { GlobalValues.STYP.Value }));
                }
                else
                {
                    return(schoolTypes.DisAggValues());
                }
            };
        }
        private void InitQueryArgumentObjects()
        {
            sexCodes        = new QueryArgumentsWithDisagg(globals);
            raceCodes       = new QueryArgumentsWithDisagg(globals);
            disabilityCodes = new QueryArgumentsWithDisagg(globals);
            migrantCodes    = new QueryArgumentsWithDisagg(globals);
            econDisadvCodes = new QueryArgumentsWithDisagg(globals);
            ELPCodes        = new QueryArgumentsWithDisagg(globals);
            gradeCodes      = new QueryArgumentsWithDisagg(globals);

            stypList         = new QueryArgumentsWithDisagg(globals);
            WMASCodes        = new QueryArgumentsWithDisagg(globals);
            WsasSubjectCodes = new QueryArgumentsWithDisagg(GlobalValues);
            CourseTypeCodes  = new QueryArgumentsWithDisagg(globals);
            ActivityCodes    = new QueryArgumentsWithDisagg(globals);
            GradReqSubjCodes = new QueryArgumentsWithDisagg(globals);
            TQSubjectCodes   = new QueryArgumentsWithDisagg(globals);
            CostTypeCodes    = new QueryArgumentsWithDisagg(globals);

            stypList.ObeyForceDisAgg  = true;
            WMASCodes.ObeyForceDisAgg = true;
            //CourseTypeCodes.ObeyForceDisAgg = true;
            GradReqSubjCodes.ObeyForceDisAgg = true;
            TQSubjectCodes.ObeyForceDisAgg   = true;
            CostTypeCodes.ObeyForceDisAgg    = true;
        }