public DDStatisticClassCollection FetchByQuery(Query qry) { DDStatisticClassCollection coll = new DDStatisticClassCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDStatisticClassCollection FetchAll() { DDStatisticClassCollection coll = new DDStatisticClassCollection(); Query qry = new Query(DDStatisticClass.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }