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