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