public TRegListCollection FetchAll() { TRegListCollection coll = new TRegListCollection(); Query qry = new Query(TRegList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TRegListCollection FetchByQuery(Query qry) { TRegListCollection coll = new TRegListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TRegListCollection FetchByID(object TestRegDetailId) { TRegListCollection coll = new TRegListCollection().Where("TestRegDetail_ID", TestRegDetailId).Load(); return coll; }