public TTestInfoCollection FetchByQuery(Query qry) { var coll = new TTestInfoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestInfoCollection FetchAll() { var coll = new TTestInfoCollection(); var qry = new Query(TTestInfo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }