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