public TTestgroupListCollection FetchByQuery(Query qry) { TTestgroupListCollection coll = new TTestgroupListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestgroupListCollection FetchAll() { TTestgroupListCollection coll = new TTestgroupListCollection(); Query qry = new Query(TTestgroupList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestgroupListCollection FetchByID(object TestGroupId) { TTestgroupListCollection coll = new TTestgroupListCollection().Where("TestGroup_ID", TestGroupId).Load(); return(coll); }