public void Execute(MatchingGradeRanges target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target", "Target list of grade ranges is NULL.");
            }

            target.Clear();

            ForEachRowSafe(sr => target.Add(new MatchingGradeRanges.SubproductGradeRange {
                ProductSubTypeID = sr["ProductSubTypeID"],
                GradeRangeID     = sr["GradeRangeID"],
            }));
        }         // Execute
Example #2
0
        }         // Execute

        public void ExportMatchingGradeRanges(MatchingGradeRanges target)
        {
            if (target == null)
            {
                return;
            }

            target.Clear();

            if (this.matchingGradeRanges == null)
            {
                return;
            }

            target.AddRange(this.matchingGradeRanges);
        }         // ExportMatchingGradeRanges