示例#1
0
        public System.Collections.Hashtable GetLowGradeHiGradePY(SligoCS.BL.WI.QueryMarshaller Marshaller)
        {
            System.Collections.Hashtable LowGrHiGr = new System.Collections.Hashtable();

            Marshaller.GlobalValues.SQL = this.BuildSQL(Marshaller);
            Marshaller.AssignQuery(this, Marshaller.GlobalValues.SQL);

            if (Table.Rows.Count < 1)
            {
                if (Marshaller.GlobalValues.TraceLevels > 0)
                {
                    throw new Exception("query returned empty;");
                }

                return(null);
            }
            LowGrHiGr["low"] = GetStringColumn("LowGradePY");
            LowGrHiGr["hi"]  = GetStringColumn("HighGradePY");

            return(LowGrHiGr);
        }