public TTestInfoCollection FetchByQuery(Query qry) { TTestInfoCollection coll = new TTestInfoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestInfoCollection FetchAll() { TTestInfoCollection coll = new TTestInfoCollection(); Query qry = new Query(TTestInfo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestInfoCollection FetchByID(object TestId) { TTestInfoCollection coll = new TTestInfoCollection().Where("Test_ID", TestId).Load(); return(coll); }