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