Hypothetically it\'d be handy for me to do this:
foo.GetColumnValues(dm.mainColumn, int)
foo.GetColumnValues(dm.mainColumn, string)
where t
Use generic types !
class DataExtraction
{
DateRangeReport dateRange;
List predicates;
List cids;
public DataExtraction( DateRangeReport dateRange,
List predicates,
List cids)
{
this.dateRange = dateRange;
this.predicates = predicates;
this.cids = cids;
}
}
And call it like this :
DataExtraction extractor = new DataExtraction(dates, predicates , cids);