public TTestTypeListCollection FetchByQuery(Query qry) { var coll = new TTestTypeListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestTypeListCollection FetchAll() { var coll = new TTestTypeListCollection(); var qry = new Query(TTestTypeList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestTypeListCollection FetchByID(object TestTypeId) { TTestTypeListCollection coll = new TTestTypeListCollection().Where("TestType_ID", TestTypeId).Load(); return(coll); }