public TesttableCollection FetchAll() { TesttableCollection coll = new TesttableCollection(); Query qry = new Query(Testtable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TesttableCollection FetchByQuery(Query qry) { TesttableCollection coll = new TesttableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TesttableCollection FetchByID(object ThingID) { TesttableCollection coll = new TesttableCollection().Where("ThingID", ThingID).Load(); return coll; }